~/talk

Beyond shared_buffers: On-Demand Memory in Modern PostgreSQL

Talkat PGConf India 2026 · 2026-03-11..03-13· [databases]
links:none on file
links:none on file
slides:none on file

Explains how dynamic shared memory (DSM)—introduced in Postgres 9.4 with POSIX as the default implementation—lets backends allocate shared pages at runtime, with a tiny DSM control segment stored in main shared_buffers to register integer handlers. DSM segments map at different virtual addresses (ASLR), so Postgres uses DSA (dynamic shared areas) that store offsets instead of pointers, auto‑expand across segments, and provide attach/detach APIs; common uses are parallel query execution, parallel indexing, and extensions that need on‑demand interprocess memory.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Memory in PostgreSQL
  3. 7:22Dynamic shared memory
  4. 11:36DSM segments in depth
  5. 21:52Applications and summary
~/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.