Eliminate xl_heap_visible
Setting the visibility map in prune/freeze and other WAL records instead of separate xl_heap_visible, toward setting VM on access.
Versions
- PostgreSQL 20 · worked-on · improved · major
- PostgreSQL 19 · shipped · improved · major · 50 commits · +3k / -2.2k lines
- PostgreSQL 17 · shipped · improved · moderate · 18 commits · +2.6k / -1.9k lines
Threads
- [BUG / PATCH] PG19: VACUUM misestimates reltuples (often 0) after on-access VM setting
- eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)
- Missing FSM Update when Updating VM On-access
- autovacuum launcher crash: assert in pgstat_count_io_op (IOOP_EXTEND on pg_database's VM)
- Correcting freeze conflict horizon calculation
- All-visible pages with valid prune xid are confusing
- Adding vacuum test case of setting the VM when heap page is unmodified
- Fix uninitialized PruneFreezeResult in pruneheap and vacuumlazy
- Fix some inconsistencies with open-coded visibilitymap_set() callers
- Periodic FSM vacuum doesn't happen in one-pass strategy vacuum.
- Understanding when VM record needs snapshot conflict horizon
- Combine Prune and Freeze records emitted by vacuum
- Emit fewer vacuum records by reaping removable tuples during pruning
- Eliminate redundant tuple visibility check in vacuum