Re: *very* inefficient choice made by the planner (regarding - Mailing list pgsql-performance

From Stephan Szabo
Subject Re: *very* inefficient choice made by the planner (regarding
Date
Msg-id 20040610075749.G17875@megazone.bigpanda.com
Whole thread Raw
In response to *very* inefficient choice made by the planner (regarding IN(...))  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
List pgsql-performance
On Thu, 10 Jun 2004, Frank van Vugt wrote:

> Could anybody explain why the planner is doing what it is doing?
>
> What could I do to make it easier to choose a better plan?

You might try raising sort_mem to see if it chooses a better plan.  I
think it may be guessing that the hash won't fit and falling back to the
plan you were getting.


pgsql-performance by date:

Previous
From: Frank van Vugt
Date:
Subject: *very* inefficient choice made by the planner (regarding IN(...))
Next
From: Tom Lane
Date:
Subject: Re: *very* inefficient choice made by the planner (regarding IN(...))