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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why is my (empty) partial index query slow?
Дата
Msg-id 9442.1151023432@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Why is my (empty) partial index query slow?  (Richard Frith-Macdonald <richard@tiptree.demon.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Query hanging/not finishing inconsistently
Следующее
От: luchot
Дата:
Сообщение: Occupation bloc in pages of table