[GENERAL] join_collapse_limit = 14 - Mailing list pgsql-general

From Andreas Joseph Krogh
Subject [GENERAL] join_collapse_limit = 14
Date
Msg-id VisenaEmail.1.997d8943b49bee2c.15979b438c7@tc7-visena
Whole thread Raw
Responses Re: [GENERAL] join_collapse_limit = 14
Re: [GENERAL] join_collapse_limit = 14
List 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
Attachment

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: R: [GENERAL] Postgres 9.6.1 big slowdown by upgrading 8.4.22
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: [GENERAL] join_collapse_limit = 14