~/talk

Batching in the Executor

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [databases]
github:amitlan
slides:none on file

Prototype replaces per-tuple plumbing with batch paths: adds ExecProcNodeBatch() API, a TupleBatch abstraction and table AM callbacks (get_next_batch etc.) and then folds batching into tuple table slots with a batch-aware tuple table slot. Early microbenchmarks show ~25% gain from batch scans, ~40% after batched expression evaluation, and ~50% with batched aggregation. Patches include table AM changes, slot callbacks, and new batch-capable exec/opcodes; prototypes work and expose next steps for projection, joins, and planner cost changes.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:09Why consider batching in executor
  3. 8:50Approaches to batch execution
  4. 10:38Initial batch design and prototypes
  5. 16:23Revised batch design and feedback
  6. 18:10New design with batch-aware slots
  7. 22:45Future directions beyond scans
  8. 25:13Summary and Q&A
~/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.