~/talk

PostgreSQL meets ART - Using Adaptive Radix Tree to speed up vacuuming

Talkat PGConf.dev 2024 · 2024-05-28..05-31· [databases]
links:none on file
slides:none on file

PostgreSQL 17 adds an Adaptive Radix Tree plus a new TidStore (bitmap-per-block values plus a combined-pointer leaf) and uses a bump memory context to replace the old flat dead-tuple array. Benchmarks show vacuum times cut from ~40s to <15s on a UUID-heavy workload and typical cases dropping ~10–15s to ~5–6s, while memory use falls from hundreds of megabytes to tens (claims up to 20× memory reduction). The feature is implemented, committed, and shows consistent speed and space wins.

AI-written summary · about

  1. 0:00Introduction to radix trees
  2. 4:47Adaptive radix tree design
  3. 11:18Leaf node implementations
  4. 16:02ART implementation in PostgreSQL
  5. 24:41Tidstore data structure
  6. 29:45Optimizing vacuum operations
  7. 35:25Performance testing results
  8. 41:37Future plans and feedback
~/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.