Autovacuum prioritization
Score-based ordering of autovacuum work (pg_stat_autovacuum_scores) and other scheduling criteria.
Versions
- PostgreSQL 20 · worked-on · new · moderate
- PostgreSQL 19 · shipped · new · moderate · 8 commits · +989 / -274 lines
- PostgreSQL 18 · shipped · improved · moderate · 1 commit · +82 / -2 lines
- PostgreSQL 17 · worked-on · improved · moderate
Threads
- Autovacuum freeze scores wrap around for just-vacuumed tables
- [PATCH] Fix autovacuum freeze bug where weight can lower a table's freeze score
- another autovacuum scheduling thread
- pg_stat_get_autovacuum_scores ignores the main table's reloptions for TOAST tables
- doc: fix pg_stat_autovacuum_scores threshold wording
- mxid_score can become Infinity in pg_stat_autovacuum_scores
- remove autoanalyze corner case
- New vacuum config to avoid anti wraparound vacuums
- Add missing CHECK_FOR_INTERRUPTS in autovacuum catalog scan loops
- Add pg_stat_autovacuum_priority
- Fix "detected double pfree in PgStat Snapshot 0x557d9926b400" error
- Proposal: ANALYZE (MODIFIED_STATS) using autoanalyze thresholds
- PoC: Compute a histogram of prune_xid to support autovacuum improvements
- 回复:回复:another autovacuum scheduling thread
- autovacuum cost delay improvement thread
- Introduce some randomness to autovacuum
- Prototype: Implement dead tuples xid histograms
- New criteria for autovacuum
- New GUC autovacuum_max_threshold ?
- Auto Vacuum optimisation
- optimize the value of vacthresh and anlthresh
- cost delay brainstorming
- autovacuum prioritization
- autovacuum: change priority of the vacuumed tables
- Make autovacuum sort tables in descending order of xid_age
- Changing the autovacuum launcher scheduling; oldest table first algorithm
- autovacuum not prioritising for-wraparound tables