~/talk

Tame the growth of your database

Talkat PostgreSQL Conference Europe 2023 · 2023-12-12..12-15· [databases]
slides:none on file

Explains PostgreSQL’s MVCC copy‑on‑write, how HOT updates avoid index write amplification, and how easy app patterns undo that. Uses pageinspect and pg_stat_user_tables to show a 12 KB live table swelling to 20 GB because autovacuum budget and a competing long vacuum block reclamation. Demonstrates the Django ORM calling save that updates every field (causing repeated row copies), a partial index on updated_at preventing HOT updates, and index bloat rising (primary‑key entries growing from 1 to 3, four updates observed).

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Multiversion concurrency control
  3. 3:39What is bloat
  4. 5:45Vacuum basics
  5. 9:41Vacuum full explained
  6. 10:25Autovacuum importance
  7. 12:13Tuning vacuum frequency
  8. 14:21Write amplification
  9. 15:04Hot updates
  10. 21:36Preventing bloat
  11. 22:19Django example
  12. 24:09Oracle patterns
  13. 26:39Demos start
  14. 36:24Django demo
  15. 45:05Summary and Q&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.