Re: HOT WIP Patch - version 1

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: HOT WIP Patch - version 1
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57901C138C6@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: HOT WIP Patch - version 1  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
> But now that I think of it, how do we get the root tid of a
> tuple? I suppose we'd be back to having backpointers or
> scanning the whole page... I guess pointer-swinging it is, then.

During vacuum you see a root [stub] not recently dead. You follow
the chain to detect if you find a live tuple that can replace
the root. You replace the root. You replace the original with a stub
that points at the root and mark it recently dead (and HEAP_COPIED_BACK
aka Pavan). ... (see prev post)
No need for anyone but vacuum to find a root.

Andreas


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

Предыдущее
От: Andreas Seltenreich
Дата:
Сообщение: Re: Writing triggers in C++
Следующее
От: Tom Dunstan
Дата:
Сообщение: Re: "anyelement2" pseudotype