| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера