Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbCQ1-0005h8-8X for pgsql-performance@arkaria.postgresql.org; Tue, 29 Oct 2013 16:45:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VbCQ0-0005Dl-GX for pgsql-performance@arkaria.postgresql.org; Tue, 29 Oct 2013 16:45:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbCPz-0005Df-NR for pgsql-performance@postgresql.org; Tue, 29 Oct 2013 16:45:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VbCPu-0005pw-IW for pgsql-performance@postgresql.org; Tue, 29 Oct 2013 16:45:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id r9TGjEsI003693; Tue, 29 Oct 2013 12:45:14 -0400 From: Tom Lane To: Jim Nasby cc: Merlin Moncure , "pgsql-performance@postgresql.org" Subject: Re: Problems with hash join over nested loop In-reply-to: <526FE086.4020903@enova.com> References: <526EDDF7.3090102@enova.com> <13775.1383002035@sss.pgh.pa.us> <526FE086.4020903@enova.com> Comments: In-reply-to Jim Nasby message dated "Tue, 29 Oct 2013 11:21:26 -0500" Date: Tue, 29 Oct 2013 12:45:14 -0400 Message-ID: <3692.1383065114@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Jim Nasby writes: > I'm also wondering if it's time to raise those limits. Yeah, possibly. The current default values were set on machines much smaller/slower than most current hardware. I think also that the collapse limits were invented mainly to keep people out of GEQO's clutches, but we've made some significant fixes in GEQO since then. Maybe the real answer is to make the default collapse limits much higher, and lower geqo_threshold to whatever we think the threshold of pain is for applying the regular planner. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance