~/talk

Improving scalability; Reducing overhead in shared memory

Talkat PGConf.dev 2025 · 2025-05-13..05-16· [databases]
links:none on file
slides:none on file

Work targets big shared structures so autoscaling can shrink shared_buffers without hitting immovable metadata. It replaces dino_hash with co‑allocated buckets and elements and uses offset pointers instead of full pointers, cutting hash element overhead to ~12 bytes plus payload. Buffer tag goes from 20 to 8 bytes, checkpoint-sort items 20→12, and per-buffer shared-memory cost drops from ~150 bytes to ~116 bytes (+16 bytes for fork entries). Lock tables shrink by about 30% in tests and lookup cache‑misses should fall.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Problem and goals
  3. 3:51Optimization strategies
  4. 6:01Buffer manager overview
  5. 8:53New hash table design
  6. 18:13Reducing buffer table size
  7. 24:22Memory savings summary
  8. 25:28Lock manager structure
  9. 31:05Optimizing lock tables
  10. 33:17Space savings and impact
  11. 39:48Performance and NUMA considerations
  12. 42:45Q&A and conclusion
~/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.