pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: wmiro@ig.com.br <wmiro@ig.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: Why the 8.1 plan is worst than 7.4?
Date: Tue, 30 May 2006 23:20:46 -0400
Message-ID: <6069.1149045646@sss.pgh.pa.us> (raw)
In-Reply-To: <20060526_120456_040065.wmiro@ig.com.br>
References: <20060526_120456_040065.wmiro@ig.com.br>

"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



view thread (3+ messages)

Message-ID: <6069.1149045646@sss.pgh.pa.us>
Permalink:  ../6069.1149045646@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6069.1149045646@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, wmiro@ig.com.br
  Subject: Re: Why the 8.1 plan is worst than 7.4?
  In-Reply-To: <6069.1149045646@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox