Re: Why do my hash joins turn to nested loops? - Mailing list pgsql-performance

From pgsql-performance@ian.org
Subject Re: Why do my hash joins turn to nested loops?
Date
Msg-id Pine.LNX.4.64.0808221431460.4498@www.sportsmogul.com
Whole thread Raw
In response to Re: Why do my hash joins turn to nested loops?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Thu, 21 Aug 2008, Tom Lane wrote:
> I think you need to raise from_collapse_limit and/or
> join_collapse_limit.

Ahah, that was it.. a much simpler solution than I was fearing.

I had already re-written the queries to get around it, but ran into
another snag with that method, so this was good timing.

Thanks!

--
Ian Smith
www.ian.org

pgsql-performance by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: Slow query with a lot of data
Next
From: "Fernando Hevia"
Date:
Subject: Big delete on big table... now what?