Re: inefficient/wrong plan cache mode selection for queries with partitioned tables (postgresql 17)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: inefficient/wrong plan cache mode selection for queries with partitioned tables (postgresql 17)
Дата
Msg-id 38869.1747073274@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: inefficient/wrong plan cache mode selection for queries with partitioned tables (postgresql 17)  (Maxim Boguk <maxim.boguk@gmail.com>)
Список pgsql-performance
Maxim Boguk <maxim.boguk@gmail.com> writes:
> Reading the code - probably the lowest hanging fruit is to make
> 'The current multiplier of 1000 * cpu_operator_cost' configurable in the
> future versions.

I'm wondering whether we should try to make the planner not expend
the effort in the first place, but leave partition pruning to the
executor, at least in cases where it can determine that that will be
possible.

            regards, tom lane



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