[GENERAL] join_collapse_limit = 14

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема [GENERAL] join_collapse_limit = 14
Дата
Msg-id VisenaEmail.1.997d8943b49bee2c.15979b438c7@tc7-visena
обсуждение исходный текст
Ответы Re: [GENERAL] join_collapse_limit = 14  (Andreas Joseph Krogh <andreas@visena.com>)
Re: [GENERAL] join_collapse_limit = 14  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi all.
 
I have a query which takes forever and the only way I've been able to make it perform reasonably well is increasing join_collapse_limit to 14 (12 still produced lots of nest-loops).
This way lots of nest-loops (which I think caused the slowness) was made into hash-joins and performance was acceptable again.
 
I wonder; In general, is there any downside of having join_collapse_limit = 14 on modern hardware (32 cores, 64GB RAM), and geqo_threshold=16 ?
I'm aware of it increasing planning-time, but is this really an issue in practice?
 
Thanks.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
Вложения

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: R: [GENERAL] Postgres 9.6.1 big slowdown by upgrading 8.4.22
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: [GENERAL] join_collapse_limit = 14