~/talk

The Good, The Bad, and The Bloated: An Autovacuum Story

links:none on file
slides:none on file

A production cluster becomes unusable when 3 autovacuum workers vs 1,500 tables lets large tables hog all workers, causing runaway bloat and a midnight dump/restore. Practical fixes: tune cluster and per-table settings (set analyze_scale_factor ≈ half of vacuum_scale_factor), use partitioning, drop unused indexes, and reindex when indexes bloat; beware vacuum_full takes an exclusive lock. Note defaults: vacuum_cost_limit 200 → raised 25× in that case, and PG18 adds 100,000,000 autovacuum threshold and autovacuum_worker_slots = 16.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why autovacuum matters
  3. 7:17How autovacuum works
  4. 9:03The bloated disaster story
  5. 12:38Tuning autovacuum strategies
  6. 24:54Monitoring bloat and activity
  7. 33:13Conclusion and key takeaways
  8. 38:46Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.