Re: Aggregate and many LEFT JOIN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Aggregate and many LEFT JOIN
Дата
Msg-id 17803.1550858759@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Aggregate and many LEFT JOIN  (Michael Lewis <mlewis@entrata.com>)
Ответы Re: Aggregate and many LEFT JOIN
Список pgsql-performance
Michael Lewis <mlewis@entrata.com> writes:
> Does the plan change significantly with this-
> set session work_mem='250MB';
> set session geqo_threshold = 20;
> set session join_collapse_limit = 20;

Yeah ... by my count there are 16 tables in this query, so raising
join_collapse_limit to 15 is not enough to ensure that the planner
considers all join orders.  Whether use of GEQO is a big problem
is harder to say, but it might be.

            regards, tom lane


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

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: Aggregate and many LEFT JOIN
Следующее
От: Igor Neyman
Дата:
Сообщение: RE: Slow query with aggregate and many LEFT JOINS