[Tarantool-discussions] Use _vsession_settings sysview to fetch session-local settings.

Kirill Yukhin kyukhin at tarantool.org
Mon Oct 28 10:55:37 MSK 2019


Hello,

On 27 окт 20:50, Nikita Pettik wrote:
> On 24 Oct 18:39, Imeev Mergen wrote:
> > Hi all,
> > 
> > earlier, we decided to create sysview, which can be used to view
> > SQL parameters and is not tied to any system space. It should
> > create tuples with these settings on the fly. Now I suggest
> > using this sysview to retrieve all the local session settings, not
> > just the SQL settings. The only problem is that checking the
> > uniqueness of the settings names is quite problematic. This
> > problem can be solved by adding the prefixes "sql_", "vinyl_",
> > etc. to the settings. I believe that in the same part of the
> > project there will not be two or more parameters with the same
> > name.
> > 
> > In fact, we currently have no other session-local settings other
> > than SQL settings. However, if I am not mistaken, they will appear
> > in the future.
> > 
> > What do you thiks about this?
> >
> 
> I'm okay with that, but I guess it shouldn't be prio 1 feature
> of 2.3 release.

I agree, let's postpone it to 2.4.

--
Regards, Kirill Yukhin


More information about the Tarantool-discussions mailing list