Re: Index usage problem on 8.3.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index usage problem on 8.3.3
Дата
Msg-id 14766.1225416478@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index usage problem on 8.3.3  (Jeff Frost <jeff@frostconsultingllc.com>)
Ответы Re: Index usage problem on 8.3.3  (Jeff Frost <jeff@frostconsultingllc.com>)
Список pgsql-performance
Jeff Frost <jeff@frostconsultingllc.com> writes:
> Tom Lane wrote:
>> Okay.  What that means is that the indexes were created on data that had
>> already been inserted and updated to some extent, resulting in
>> HOT-update chains that turned out to be illegal for the new indexes.
>> The way we deal with this is to mark the indexes as not usable by any
>> query that can still see the dead HOT-updated tuples.

> Any idea why I don't see it on 8.3.4?

I think it's more likely some small difference in your test conditions
than any real version-to-version difference.  In particular I think the
"still see" test might be influenced by the ages of transactions running
concurrently.

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jeff Frost
Дата:
Сообщение: Re: Index usage problem on 8.3.3
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: Index usage problem on 8.3.3