~/talk

Hacking Postgres Executor For Performance

Talkat POSETTE: An Event for Postgres 2025 · 2025-06-10..06-12· [databases]
github:amitlan
slides:none on file

Postgres executor changes that are already committed and measurable: expression evaluation moves from tree-walking to an opcode-based execution loop yielding up to ~30% speedups in TPC-H; per-node dispatch gets replaced with direct function pointers to avoid ExecProcNode overhead; tuple deforming uses a compact attribute struct and branchless alignment for up to ~25% gains; scan inlining gives ~5–10% improvements. Future directions tested in patches include batching/vectorized execution and a push-based flow or broader JIT to compile whole plans for OLAP workloads.

AI-written summary · about

  1. 0:00Start
  2. 0:36Introduction - Hacking Postgres Executor for Performance
  3. 2:49Executor's Impact on Query Performance
  4. 4:33CPU Performance Primer
  5. 11:33Postgres Execution Model: Volcano
  6. 15:54Committed Optimizations for Executor Performance
  7. 27:55Larger Executor Rewrite & Future Directions
  8. 32:04Discussions & Questions
~/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.