Re: Subplan result caching

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Subplan result caching
Дата
Msg-id 1527069810.7039.1.camel@cybertec.at
обсуждение исходный текст
Ответ на Subplan result caching  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Subplan result caching
Re: Subplan result caching
Список pgsql-hackers
Heikki Linnakangas wrote:
> I've been working on a patch to add a little cache to SubPlans, to speed 
> up queries with correlated subqueries, where the same subquery is 
> currently executed multiple times with the same parameters. The idea is 
> to cache the result of the subplan, with the correlation vars as the 
> cache key.

I like the idea.

I think the cache should be limited in size, perhaps by work_mem.
Also, there probably should be a GUC for this, defaulting to "off".

Yours,
Laurenz Albe


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Subplan result caching
Следующее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Subplan result caching