~/talk

AIO in PG 18 and beyond

Talkat PostgreSQL Conference Europe 2025 · 2025-10-21..10-24· [databases]
slides:none on file

PostgreSQL 18 adds AIO for reads only via a readstreams layer that currently uses either worker mode (process-based workers) or Linux io_uring; buffered reads gain most now, writes aren’t yet supported. Benchmarks (with DM delay) show small gains for sequential scans unless storage latency is high, vacuum can speed 2–3x (and much more with high latency), random index-heavy lookups show ~7–8x improvements, and backward scans jump multiplex. Limits: global worker count, ulimit/file-descriptor constraints, and need for index-TID prefetching for wider benefits.

AI-written summary · about

  1. 0:00Introduction to AIO in PostgreSQL
  2. 1:29What is asynchronous IO
  3. 4:16Predicting IO patterns for AIO
  4. 7:47IO methods in PostgreSQL 18
  5. 11:14When AIO helps workloads
  6. 13:02Benchmark setup and results
  7. 17:37Sequential scan performance gains
  8. 18:21Vacuum performance improvements
  9. 19:45Bitmap heap scan benefits
  10. 21:54Index read ahead in development
  11. 26:07Future AIO features and rights
  12. 32:41Cross-platform AIO support
  13. 34:32Q&A session
~/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.