Re: Why the 8.1 plan is worst than 7.4? - Mailing list pgsql-performance

From Tom Lane
Subject Re: Why the 8.1 plan is worst than 7.4?
Date
Msg-id 6069.1149045646@sss.pgh.pa.us
Whole thread Raw
In response to Why the 8.1 plan is worst than 7.4?  (wmiro@ig.com.br <wmiro@ig.com.br>)
List pgsql-performance
"wmiro@ig.com.br" <wmiro@ig.com.br> writes:
> Why the plan is worst in postgres 8.1?

(1) you have not actually shown us that the plan is worse.  If you are
complaining that the planner is wrong, EXPLAIN output (which contains
only the planner's estimates) is useless for proving your point.  Show
EXPLAIN ANALYZE.

(2) Have you ANALYZEd these tables recently in either database?  The
discrepancies in estimated rowcounts suggest that the two planners
are working with different statistics.

            regards, tom lane

pgsql-performance by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Query performance
Next
From: "Jim C. Nasby"
Date:
Subject: Re: App very unresponsive while performing simple update