| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера