Re: Indexing dead tuples

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Indexing dead tuples
Дата
Msg-id 7596.1125540528@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Indexing dead tuples  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> On Wed, 2005-08-31 at 19:06 -0400, Tom Lane wrote:
>> In fact, it had better be able to, since once the CREATE INDEX commits,
>> pre-existing xacts are responsible to insert index entries for anything
>> they insert into the table.

> So would it be possible to have CREATE INDEX call GetOldestXmin, just as
> VACUUM does, so it can work out which rows to ignore?

It already does.  See IndexBuildHeapScan().
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Minimally avoiding Transaction Wraparound in VLDBs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Minimally avoiding Transaction Wraparound in VLDBs