Re: HOT for PostgreSQL 8.3

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: HOT for PostgreSQL 8.3
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57901CAF63C@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: HOT for PostgreSQL 8.3  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: HOT for PostgreSQL 8.3
Список pgsql-hackers
> > I very much like Hannu's idea, but it does present some issues.
> >
> >
> I too liked Hannu's idea initially, but Tom raised a valid
> concern that it does not address the basic issue of root
> tuples. According to the idea, a DEAD root tuple can be used
> for a subsequent update of the same row.

If you are reusing the existing slot of a root tuple how will that
slot likely have room for an extra pointer and a live tuple ?
If the idea does not cover root reuse we don't need pointers.

Imho we should follow the swing idea. It should even be possible
to point the root to the newest dead tuple during update (if it
was index path), and reuse an older dead slot from the chain.
Then we can limit the chain to number of potentially visible
tuples + root + 2 without vacuum.

Andreas


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: SCMS question
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: SCMS question