~/talk

Vacuuming Enhancements in PostgreSQL 18: Faster, Smarter, More Predictable

slides:none on file

Postgres 18 adds a practical set of VACUUM changes: an asynchronous I/O subsystem (io_method=worker, io_workers default 3, scalable to ~12) that overlaps reads with processing and cuts heap-scan latency on high‑latency storage; dynamic autovacuum scaling via autovacuum_worker_slots so autovacuum_max_workers changes without restart; a hard dead‑tuple cap autovacuum_vacuum_max_threshold (example 50M) to avoid silent bloat; eager freezing to prevent wraparound I/O storms; recursive VACUUM/ANALYZE for partitions; and new per‑table timing and I/O counters for tuning.

AI-written summary · about

  1. 0:00Music & introduction
  2. 1:36What’s new in PG18 vacuuming
  3. 2:02Pain points before PostgreSQL 18
  4. 3:14Fixes introduced in PG18
  5. 4:17Asynchronous I/O for faster vacuum
  6. 6:05Dynamic autovacuum scaling explained
  7. 8:15Dead tuple cap on large tables
  8. 9:50Eager freezing to prevent I/O spikes
  9. 11:34Partitioned tables: auto vacuum & analyze
  10. 13:17Vacuum truncation and replica impact
  11. 14:54Observability and new metrics
  12. 17:20Key takeaways and improvements
  13. 18:10Resources, blog, and closing
~/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.