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: (view raw, whole thread or download thread mbox)
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.


Ian Smith

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-2017 The PostgreSQL Global Development Group