work_mem warriors
summary
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
