Re: Problems with hash join over nested loop - Mailing list pgsql-performance

From Jim Nasby
Subject Re: Problems with hash join over nested loop
Date
Msg-id 526EF8DF.8080705@enova.com
Whole thread Raw
In response to Re: Problems with hash join over nested loop  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On 10/28/13 6:13 PM, Tom Lane wrote:
> 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
anon-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.

Hell, never thought about that. Bumping it up did the trick. Thanks!
--
Jim Nasby, Lead Data Architect   (512) 569-9461


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problems with hash join over nested loop
Next
From: Merlin Moncure
Date:
Subject: Re: Problems with hash join over nested loop