~/talk

Managing your Tuple Graveyard

Talkat pgDay Paris 2023 · 2023-03-22..03-23· [databases]
linkedin:chelsea-dole
slides:none on file

Runs and manages ~400 Postgres instances and explains that MVCC creates dead tuples which vacuum reclaims but never usually frees pages; recommends measuring bloat with pg_stat_tuple (accurate but CPU heavy) or fast estimation queries, and tuning autovacuum_vacuum_scale_factor (defaults 0.2, common suggestion 0.01) and vacuum_cost_delay (2ms). Advises avoiding VACUUM FULL, using pg_repack or pg_squeeze to rebuild (requires ~2x space, spikes CPU; repack can be flaky), and gives size-based dead-tuple rules of thumb (e.g., >100GB aim ≈18% dead).

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:28What is MVCC in PostgreSQL
  3. 8:53How VACUUM works
  4. 12:47Understanding table bloat
  5. 15:37Causes of table bloat
  6. 18:45Quantifying table bloat
  7. 24:39How much bloat is too much
  8. 26:41Tuning Auto VACUUM
  9. 31:35Repacking or rebuilding tables
  10. 35:52Designing bloat-aware access patterns
  11. 41:33When to consider alternatives
  12. 42:14Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.