From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Daryl Herzmann <akrherz@iastate.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Queries not using Index
Date: Tue, 23 Jul 2002 17:33:25 -0700 (PDT)
Message-ID: <20020723172940.C29741-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0207231550130.1171-101000@akrherz.agron.iastate.edu>
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.
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-sql@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, akrherz@iastate.edu
Subject: Re: Queries not using Index
In-Reply-To: <20020723172940.C29741-100000@megazone23.bigpanda.com>
* 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