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

Re: Why the 8.1 plan is worst than 7.4?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "wmiro(at)ig(dot)com(dot)br" <wmiro(at)ig(dot)com(dot)br>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Why the 8.1 plan is worst than 7.4?
Date: 2006-05-31 03:20:46
Message-ID: 6069.1149045646@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
"wmiro(at)ig(dot)com(dot)br" <wmiro(at)ig(dot)com(dot)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

In response to

pgsql-performance by date

Next:From: Jim C. NasbyDate: 2006-05-31 06:23:07
Subject: Re: App very unresponsive while performing simple update
Previous:From: Jim C. NasbyDate: 2006-05-31 01:09:22
Subject: Re: Bulk loading/merging

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