[tarantool-patches] Re: [PATCH] sql: rework VIEW internals

Konstantin Osipov kostja at tarantool.org
Fri Jun 8 07:08:48 MSK 2018


* n.pettik <korablev at tarantool.org> [18/06/07 23:59]:
> > 

Generally, you should consult with the data dictionary,
not data dictionary cache, when checking object dependency constraints. 

It's the same problem with sequences, views, triggers, functions, users,
roles, privileges, virtually any object in the database.

And we implement independent, ad-hoc solutions for each kind of
dependency.

We simply need a global map
object_type, object_id -> object_type, object-id, 

either as a system space or simply as a standalone hash in the
data dictionary cache. 

 

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list