Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Why is my (empty) partial index query slow?



Richard Frith-Macdonald <richard(at)tiptree(dot)demon(dot)co(dot)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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2007 PostgreSQL Global Development Group