~/talk

work_mem warriors

Talkat PGCon 2020 · 2020-05-26..05-29· [databases]
links:none on file
slides:none on file

Adds memory accounting to MemoryContexts accounting, bounds HashAgg by spilling partitions to disk (version 13 keeps a 4MB work_mem instead of blowing to ~2GB) and improves logical-tape reuse; implements a block-nested-loop fallback for skewed multi-batch hash joins so skewed batches are processed in stripes. Explains serial versus parallel multi-batch growth rules, when growth is disabled, and that v13’s spilling preserves runtime while preventing system-wide OOMs.

AI-written summary · about

  1. 0:00Introduction to work_mem
  2. 1:16Why work_mem matters
  3. 3:03How work_mem works
  4. 4:58Sort operator memory management
  5. 7:02Hash aggregation demo
  6. 10:30Hash aggregation in detail
  7. 21:13Hash join memory challenges
  8. 33:56Solutions for data skew
  9. 39:35Q&A on work_mem
~/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.