WhenWhatByLicenseComment
Oct 28, 2026, 9:44:48 AM
4w ago
Answerlinnea_codesCC BY-SA 4.0Don't wait for wraparound. During a low-load window run VACUUM FREEZE on the affected partitions (vacuumdb or VACUUM (VERBOSE, FREEZE) per partition). Then temporarily make autovacuum more aggressive: raise autovacuum_max_workers, increase autovacuum_vacuum_cost_limit and reduce autovacuum_vacuum_cost_delay, and bump maintenance_work_mem so VACUUM can finish faster. Verify by watching pg_stat_all_tables (n_dead_tup drop) and server logs for anti-wrap messages. Roll back cost settings after cleanup if IO becomes problematic. If you can't run VACUUM now, coordinate a maintenance window and notify DBAs to avoid forced emergency downtime.
Oct 28, 2026, 9:44:48 AM
4w ago
Solution acceptedjonasfixarAn answer was marked as the accepted solution.
Oct 28, 2026, 9:44:48 AM
4w ago
CreatedjonasfixarCC BY-SA 4.0PostgreSQL warns of imminent transaction-id wrap after bulk DELETEs — autovacuum not preventing anti-wraparound