~/talk

Enhancing PostgreSQL Plasticity: New Frontiers in Memory Management

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

Demonstrates experiments that let PostgreSQL shrink live shared_buffers by unmapping cached pages (using mmap/madvise-style tricks) to reduce RSS in a demo where a 256MB buffer pool is partially released; tooling is experimental and a patch is moving upstream. Covers dynamic shared memory (DSA), buffer mapping and pinned-page limits, and proposals like pg_buffercache_invalidate extension, strategic memory segmentation, and clock sweep algorithm redesign aimed at enabling runtime shrink/expand for serverless and over‑booking use cases.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 3:59Memory management in PostgreSQL
  3. 12:52Shared memory and locking
  4. 19:41Local memory management
  5. 22:10Kernel memory consumption
  6. 25:55Debugging memory usage
  7. 28:09Concept of memory plasticity
  8. 36:19Challenges and possibilities
  9. 38:49Demo on memory shrinkage
  10. 41:40Future directions and thanks
~/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.