pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: reedstrm@wallace.ece.rice.edu
To: pierre@desertmoon.com
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] 6.4.x vs. 6.5 oddity
Date: Mon, 8 Mar 1999 13:53:02 -0600 (CST)
Message-ID: <m10K65G-000LJgC@wallace.ece.rice.edu> (raw)
In-Reply-To: <19990308192757.20501.qmail@desertmoon.com>

Pierre - 
Are you sure the databases are identical? Including indicies? The only
significant difference I can see is the choice of index by the 6.5 plan
for the scan on pcat:

> V6.5
>  Index Scan using pcat_dcat_id_idx on pcat c  (cost=264.24 size=4465 width=4)
> 
> V6.4
>  Index Scan using pcat_prod_id_idx on pcat c  (cost=2.00 size=4457 width=4)

Strangely enough, the estimated total cost difference is about the same ratio.


-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005



view thread (6+ messages)  latest in thread

Message-ID: <m10K65G-000LJgC@wallace.ece.rice.edu>
Permalink:  ../m10K65G-000LJgC@wallace.ece.rice.edu/
Also on:    postgresql.org/message-id/m10K65G-000LJgC@wallace.ece.rice.edu

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: reedstrm@wallace.ece.rice.edu, pierre@desertmoon.com
  Subject: Re: [SQL] 6.4.x vs. 6.5 oddity
  In-Reply-To: <m10K65G-000LJgC@wallace.ece.rice.edu>
  References: <19990308192757.20501.qmail@desertmoon.com> <m10K65G-000LJgC@wallace.ece.rice.edu>

* 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