From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim Nasby <jnasby@enova.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Problems with hash join over nested loop
Date: Mon, 28 Oct 2013 19:13:55 -0400
Message-ID: <13775.1383002035@sss.pgh.pa.us> (raw)
In-Reply-To: <526EDDF7.3090102@enova.com>
References: <526EDDF7.3090102@enova.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
Jim Nasby <jnasby@enova.com> writes:
> I've been working on trying to normalize a table that's got a bunch of text fields. Normalizing the first 4 has been a non-issue. But when I try and normalize 2 additional fields a bunch of query plans go belly-up.
Try increasing join_collapse_limit/from_collapse_limit. I'm a bit
confused by your description but I think maybe you've got more than 8
relations in the subqueries.
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, jnasby@enova.com
Subject: Re: Problems with hash join over nested loop
In-Reply-To: <13775.1383002035@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox