Re: Why is my (empty) partial index query slow? - Mailing list pgsql-performance

From Tom Lane
Subject Re: Why is my (empty) partial index query slow?
Date
Msg-id 9442.1151023432@sss.pgh.pa.us
Whole thread Raw
In response to Why is my (empty) partial index query slow?  (Richard Frith-Macdonald <richard@tiptree.demon.co.uk>)
List pgsql-performance
Richard Frith-Macdonald <richard@tiptree.demon.co.uk> writes:
> What has confused me is why a query using an empty index should be
> slow, irrespective of the state of the table that the index applies to.

Is it actually empty, or have you just deleted-and-not-yet-vacuumed
all the rows in the index?

I had hoped to see comparative EXPLAIN ANALYZE output for the fast and
slow cases.  Maybe when it gets slow again you could redo the explain.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query hanging/not finishing inconsistently
Next
From: luchot
Date:
Subject: Occupation bloc in pages of table