Re: HOT breaks CLUSTER, a bit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HOT breaks CLUSTER, a bit
Дата
Msg-id 20710.1189605654@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: HOT breaks CLUSTER, a bit  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-hackers
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Tom Lane wrote:
>> BTW, the proposed HOT code in indexam.c that special-cases SnapshotAny
>> is a crock ...

> It was written under the assumption that all tuples in a HOT chain have
> the same index key, which isn't true after CREATE INDEX as you pointed
> out. Is there something else wrong with it?

It's the wrong special case.  It should assume that *all* non-MVCC
snapshots require walking the whole chain.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: regression tests of dictionaries and Windows
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: A small mistake in the initial latestCompletedXid idea