Re: VACUUM FREEZE vs plain VACUUM - Mailing list pgsql-admin

From David G. Johnston
Subject Re: VACUUM FREEZE vs plain VACUUM
Date
Msg-id CAKFQuwZ=Rth-yv8Hdzv-z2tDRU-L1v93QAM1m9B_6oTA08b9OA@mail.gmail.com
Whole thread Raw
In response to VACUUM FREEZE vs plain VACUUM  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: VACUUM FREEZE vs plain VACUUM
List pgsql-admin
On Thursday, July 17, 2025, Ron Johnson <ronljohnsonjr@gmail.com> wrote:
Does VACUUM FREEZE do something extra or special than to defer autovacuum for an extra 50,000,000 transactions?

It effectively resets the pseudo-counter(s) that autovacuum uses to determine when next it should perform an aggressive scan.  Or, put differently, it does exactly what autovacuum would do when the pseudo-counter(s) hit their thresholds.  The act of doing that thing effectively resets said counters to zero at that moment (absent concurrent activity).

David J.

pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: VACUUM FREEZE vs plain VACUUM
Next
From: Ron Johnson
Date:
Subject: Re: VACUUM FREEZE vs plain VACUUM