Re: HOT for PostgreSQL 8.3

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: HOT for PostgreSQL 8.3
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57901C13537@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: HOT for PostgreSQL 8.3  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
> > > What are the problems with just shuffling the last (and only
visible)
> > > tuple to replace the HOT-hain root and be done with it ?
> >
> > ctid stops being a reliable identifier.

A backend selecting the row by ctid would need to take one step to
the root slot to get at the tuple. This does seem possible if the
tuples got swapped.
The old "current version" slot would need to become RECENTLY_DEAD
and could not be removed right away. It also needs a flag to
denote that the one step is necessary.

It sure would be nice if a root could be reused during regular vacuum,
(even if it were only possible under very restricted conditions,
that eventually apply).

Andreas


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

Предыдущее
От: Jeremy Drake
Дата:
Сообщение: Re: [ANNOUNCE] == PostgreSQL Weekly News - February 11 2007 ==
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: select from sequences