Re: [SQL] 6.4.x vs. 6.5 oddity

From: reedstrm(at)wallace(dot)ece(dot)rice(dot)edu (Ross J(dot) Reedstrom)
To: pierre(at)desertmoon(dot)com
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] 6.4.x vs. 6.5 oddity
Date: 1999-03-08 19:53:02
Message-ID: m10K65G-000LJgC@wallace.ece.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 1999-03-08 20:22:42 Re: [SQL] 6.4.x vs. 6.5 oddity
Previous Message Bruce Momjian 1999-03-08 19:33:50 Re: [SQL] 6.4.x vs. 6.5 oddity