Re: [HACKERS] [PATCH] A hook for session start

Поиск
Список
Период
Сортировка
От Nico Williams
Тема Re: [HACKERS] [PATCH] A hook for session start
Дата
Msg-id 20171006193653.GG1251@localhost
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] A hook for session start  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [HACKERS] [PATCH] A hook for session start  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [HACKERS] [PATCH] A hook for session start  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, Oct 06, 2017 at 08:51:53PM +0200, Pavel Stehule wrote:
> 2017-10-06 20:39 GMT+02:00 Nico Williams <nico@cryptonector.com>:
> > On Fri, Oct 06, 2017 at 06:37:57PM +0200, Pavel Stehule wrote:
> > > When we talked about this topic, there are two issues:
> > >
> > > a) probably not too hard issue - some internal data can be in session sys
> > > cache.
> > >
> > > b) the session sys data should be visible on SQL level too (for some
> > tools
> > > and consistency) - it is hard task.
> >
> > Can you expand on this?
> 
> If global temporary tables should be effective, then you have not have
> modify system catalogue after creating. But lot of processes requires it -
> ANALYZE, query planning.

But the nice thing about them is that you need only create them once, so
leave them in the catalog.  Stats about them should not be gathered nor
stored, since they could be different per-session.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [HACKERS] separate serial_schedule useful?