Skip site navigation (1) Skip section navigation (2)

Re: Why do my hash joins turn to nested loops?

From: pgsql-performance(at)ian(dot)org
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Why do my hash joins turn to nested loops?
Date: 2008-08-22 18:33:25
Message-ID: Pine.LNX.4.64.0808221431460.4498@www.sportsmogul.com (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-performance by date

Next:From: Fernando HeviaDate: 2008-08-22 20:36:44
Subject: Big delete on big table... now what?
Previous:From: Merlin MoncureDate: 2008-08-22 17:57:28
Subject: Re: Slow query with a lot of data

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group