Re: Queries not using Index - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Queries not using Index
Date
Msg-id 20020723172940.C29741-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: Queries not using Index  (Daryl Herzmann <akrherz@iastate.edu>)
Responses Re: Queries not using Index
List pgsql-sql
On Tue, 23 Jul 2002, Daryl Herzmann wrote:

> Hi!
>
> Thanks for the continued help.
>
> I have attached the results of your request.  Thank you!

Hmm, when the data was put in, was it put in where the same value
would be bunched up?  IIRC that's a case the optimizer won't realize
if the data isn't ordered but merely bunched together that'd cause
it to over-estimate the cost of an index scan. Clustering on the index
might help, but cluster drops alot of info about the table, so you
have to be careful.




pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: FATAL 1
Next
From: Daryl Herzmann
Date:
Subject: Re: Queries not using Index