Re: Unexpected planner choice in simple JOIN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unexpected planner choice in simple JOIN
Дата
Msg-id 1896854.1767847913@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unexpected planner choice in simple JOIN  (Mark Kirkwood <mark.kirkwood@gmail.com>)
Ответы Re: Unexpected planner choice in simple JOIN
Список pgsql-performance
Mark Kirkwood <mark.kirkwood@gmail.com> writes:
> A point comes to mind - this is not a particularly unusual setup (i.e 
> relatively small parent table with big child one), so maybe the defaults 
> are not ideal here?

Very probably.  To my mind, the default costs for parallel query and
JIT are both unduly optimistic and tend to drive the planner to use
those features when you'd be better off without.  The reason there's
not been more argument about them is that the downside of using those
features on a too-small query is bounded, while the upside of using
them on very-big queries isn't.  So nobody's invested the effort to
gather enough evidence to back choosing a different set of defaults.

            regards, tom lane



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