Re: Persistent Plan Cache

Поиск
Список
Период
Сортировка
От Joshua Rubin
Тема Re: Persistent Plan Cache
Дата
Msg-id 4AAD36A8.8000502@esoft.com
обсуждение исходный текст
Ответ на Re: Persistent Plan Cache  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Persistent Plan Cache  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-performance
Tom,

> If you're depending on constraint exclusion, it's hard to see how plan
> caching could help you at all. The generated plan needs to vary
> depending on the actual WHERE-clause parameters.

Thank you for the reply.

We "hardcode" the parts of the where clause so that the prepared plan
will not vary among the possible partitions of the table. The only
values that are bound would not affect the planner's choice of table.

Thanks,
Joshua


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORMANCE] work_mem vs temp files issue
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Persistent Plan Cache