Re: Queries not using Index

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Daryl Herzmann <akrherz(at)iastate(dot)edu>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Queries not using Index
Date: 2002-07-24 00:33:25
Message-ID: 20020723172940.C29741-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Daryl Herzmann 2002-07-24 00:53:46 Re: Queries not using Index
Previous Message Bruce Momjian 2002-07-23 23:44:12 Re: FATAL 1