Re: One tuple per transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: One tuple per transaction
Дата
Msg-id 818.1110930679@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: One tuple per transaction  (Robert Treat <xzilla@users.sourceforge.net>)
Ответы Re: One tuple per transaction
Список pgsql-performance
Robert Treat <xzilla@users.sourceforge.net> writes:
>  On a similar note I was just wondering if it would be possible to
> mark any of these dead tuples as ready to be reused at transaction
> commit time, since we know that they are dead to any and all other
> transactions currently going on.

I believe VACUUM already knows that xmin = xmax implies the tuple
is dead to everyone.

> This would save you from having to vacuum to get the tuples marked
> ready for reuse.

No; you forgot about reclaiming associated index entries.

            regards, tom lane

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Performance problem on delete from for 10k rows.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: One tuple per transaction