Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3 - Mailing list pgsql-performance

From Michael Fuhr
Subject Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3
Date
Msg-id 20070313101117.GA98241@winnie.fuhr.org
Whole thread Raw
In response to Execution plan changed after upgrade from 7.3.9 to 8.2.3  (<vincent.moreau@leroymerlin.fr>)
Responses Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3  (<vincent.moreau@leroymerlin.fr>)
List pgsql-performance
On Tue, Mar 13, 2007 at 09:19:47AM +0100, vincent.moreau@leroymerlin.fr wrote:
> Is there an option in the 8.2.3 to change in order to have the same
> execution plan than before ?

Let's see if we can figure out why 8.2.3 is choosing a bad plan.
Have you run ANALYZE on the tables in 8.2.3?  Could you post the
query and the complete output of EXPLAIN ANALYZE (preferably without
wrapping) for both versions?

--
Michael Fuhr

pgsql-performance by date:

Previous
From:
Date:
Subject: Execution plan changed after upgrade from 7.3.9 to 8.2.3
Next
From: femski
Date:
Subject: Postgres batch write very slow - what to do