~/talk

Linux IO internals for PostgreSQL administrators in 2023

Talkat PostgreSQL Conference Europe 2023 · 2023-12-12..12-15· [databases]
slides:none on file

Postgres moves pages from disk into the Linux page cache and then copies them into shared buffers, so writes mark whole pages dirty and checkpoint spikes are the usual source of large IO bursts; WAL must be fsynced for durability and Postgres currently supports direct AIO only for WAL writers. Modern kernels use blk-mq/mq-deadline (blk-mq replaces the old elevator) and NVMe parallelism and polling improve throughput, but huge RAM plus generic EBS can still saturate disks. Recent kernels and testing with pg_stat_io or perf are recommended.

AI-written summary · about

  1. 0:00Introduction to Linux IO
  2. 1:52Why Linux IO matters
  3. 4:02PostgreSQL IO stack
  4. 9:01Dirty pages and checkpoint spikes
  5. 13:15IO bottlenecks and SSD era
  6. 16:13Linux IO stack evolution
  7. 20:52Blk-mq and modern schedulers
  8. 27:19NVMe and database readiness
  9. 30:31Direct IO in PostgreSQL
  10. 33:23Further learning resources
  11. 35:56Q&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.