~/talk

Asynchronous IO for PostgreSQL

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

Prototype adds asynchronous IO to PostgreSQL using io_uring and shows large throughput and CPU wins on sequential scans: buffered reads drop CPU copy time and approach the device limit (roughly 3.2 GB/s on the test), while checkpoints and bgwriter gain big improvements. Design forces cross-process completion handling so another backend can finish IO to avoid deadlocks. Implementation supports both buffered and direct IO, stages submissions to reduce syscalls, and still needs work on WAL integration, multiple io_uring instances and fairness under many parallel workers.

AI-written summary · about

  1. 0:00Introduction to async IO
  2. 12:25Problems with current IO
  3. 15:37Linux IO_uring changes
  4. 20:38Design constraints for async IO
  5. 23:29Async IO interface in PostgreSQL
  6. 31:58Prototype results and benefits
  7. 37:20Next steps and future work
  8. 38:47Q&A session
~/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.