Re: VACUUM FREEZE vs plain VACUUM

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: VACUUM FREEZE vs plain VACUUM
Дата
Msg-id f458589b1f446b5977272a55300601746f4480d5.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: VACUUM FREEZE vs plain VACUUM  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-admin
On Fri, 2025-07-18 at 06:31 +0200, Laurenz Albe wrote:
> On Thu, 2025-07-17 at 18:03 -0400, Ron Johnson wrote:
> > Does VACUUM FREEZE do something extra or special than to defer autovacuum
> > for an extra 50,000,000 transactions?
>
> To answer your question: the extra thing it does is that it even visits
> table pages that have the all-visible flag set, that is, they contain no
> dead tuples.  That means that it will do more work and use more
> of your system's resources.

... and the biggest impact is that it will modify more tuples, some of them
unnecessarily (because they will be deleted or updated before they reach
an age of 50 million transactions), and that will cause more writing
disk I/O on your system.

Yours,
Laurenz Albe



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