Re: Index non-usage problem in 8.2.9 - Mailing list pgsql-general

From Tom Lane
Subject Re: Index non-usage problem in 8.2.9
Date
Msg-id 12195.1220414385@sss.pgh.pa.us
Whole thread Raw
In response to Re: Index non-usage problem in 8.2.9  (Joseph S <jks@selectacast.net>)
Responses Re: Index non-usage problem in 8.2.9
List pgsql-general
Joseph S <jks@selectacast.net> writes:
> Tom Lane wrote:
>> Can you force it to use the partial index by dropping the other index?
>> (Use begin; drop index ...; explain ...; rollback; to avoid dropping
>> the index for real.)  It's quite unclear at this point whether it

> I tried, and it ends up using a seqscan.

Just to be sure, what if you set enable_seqscan = off?

If still not, then there must be something about the table or index
declaration that you didn't tell us.  In the past, issues like use of
a domain instead of a bare datatype have been relevant ...

            regards, tom lane

pgsql-general by date:

Previous
From: Joseph S
Date:
Subject: Re: Index non-usage problem in 8.2.9
Next
From: Joseph S
Date:
Subject: Re: Index non-usage problem in 8.2.9