pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix autovacuum docs related to widening multixid offsets to 64 b 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix autovacuum docs related to widening multixid offsets to 64 b @ 2026-09-30 12:41 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 2+ messages in thread From: Heikki Linnakangas @ 2026-09-30 12:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix autovacuum docs related to widening multixid offsets to 64 bits The explanation of aggressive scans claimed that if the multixact members grows to 2 billion entries, we launch autovacuum even if it's nominally disabled. That's no longer true; anti-wraparound vacuum is only triggered if we're in danger of running out of multixids, we no longer launch it just to shrink the 'members' SLRU. There's no wraparound danger with 'members' anymore, so it's no worse than if a user table becomes very bloated. We do still adjust the freeze threshold though, so that if autovacuum runs, whether on schedule or as an emergency autovacuum to avoid wraparound, it will freeze more aggressively if the members SLRU is large. I removed the mention of the 4 billion member threshold, even though that still exists, because the explanation felt misleading. The aggressiveness is scaled proportionally between 2 and 4 billion members. At 4 billion it's as aggressive as it gets, but there's no sudden cliff. In the passing, fix some comments. Remove obsolete mention of safe threshold for member storage triggering autovacuum. Secondly, the freezing cutoff is adjusted to avoid the *members* SLRU from growing too large. Reported-by: Noah Misch <noah@leadboat.com> Discussion: https://www.postgresql.org/message-id/20260827231757.78.noahmisch@microsoft.com Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b69356cd789fe963447177a0077c12c6c322c203 Modified Files -------------- doc/src/sgml/maintenance.sgml | 17 +++++++---------- src/backend/access/transam/multixact.c | 6 ++---- 2 files changed, 9 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix autovacuum docs related to widening multixid offsets to 64 b @ 2026-09-30 12:41 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 2+ messages in thread From: Heikki Linnakangas @ 2026-09-30 12:41 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix autovacuum docs related to widening multixid offsets to 64 bits The explanation of aggressive scans claimed that if the multixact members grows to 2 billion entries, we launch autovacuum even if it's nominally disabled. That's no longer true; anti-wraparound vacuum is only triggered if we're in danger of running out of multixids, we no longer launch it just to shrink the 'members' SLRU. There's no wraparound danger with 'members' anymore, so it's no worse than if a user table becomes very bloated. We do still adjust the freeze threshold though, so that if autovacuum runs, whether on schedule or as an emergency autovacuum to avoid wraparound, it will freeze more aggressively if the members SLRU is large. I removed the mention of the 4 billion member threshold, even though that still exists, because the explanation felt misleading. The aggressiveness is scaled proportionally between 2 and 4 billion members. At 4 billion it's as aggressive as it gets, but there's no sudden cliff. In the passing, fix some comments. Remove obsolete mention of safe threshold for member storage triggering autovacuum. Secondly, the freezing cutoff is adjusted to avoid the *members* SLRU from growing too large. Reported-by: Noah Misch <noah@leadboat.com> Discussion: https://www.postgresql.org/message-id/20260827231757.78.noahmisch@microsoft.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6aa2cefe11841a6bff4dab65860c1a12a3e57146 Modified Files -------------- doc/src/sgml/maintenance.sgml | 17 +++++++---------- src/backend/access/transam/multixact.c | 6 ++---- 2 files changed, 9 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-09-30 12:41 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-09-30 12:41 pgsql: Fix autovacuum docs related to widening multixid offsets to 64 b Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-09-30 12:41 pgsql: Fix autovacuum docs related to widening multixid offsets to 64 b Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox