| От | Vik Fearing |
|---|---|
| Тема | Re: Why doesn't Vacuum FULL update the VM |
| Дата | |
| Msg-id | da7a8a3c-f305-5033-13fa-a3f960fcb0ce@postgresfriends.org обсуждение |
| Ответ на | Why doesn't Vacuum FULL update the VM (Melanie Plageman <melanieplageman@gmail.com>) |
| Список | pgsql-hackers |
On 9/1/23 21:34, Melanie Plageman wrote: > Hi, > > I noticed that VACUUM FULL actually does freeze the tuples in the > rewritten table (heap_freeze_tuple()) but then it doesn't mark them > all visible or all frozen in the visibility map. I don't understand > why. It seems like it would save us future work. I have often wondered this as well, but obviously I haven't done anything about it. > I don't see why the visibility map shouldn't be updated so that all of > the pages show all visible and all frozen for this relation after the > vacuum full. It cannot just blindly mark everything all visible and all frozen because it will copy over dead tuples that concurrent transactions are still allowed to see. -- Vik Fearing
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера