~/talk

PostgreSQL physical replication - internals, latest development and opportunities

Talkat POSETTE: An Event for Postgres 2024 · 2024-06-11..06-13· [databases]
slides:none on file

Primary and standby exchange WAL via WalSender and WAL receiver; WalSender reads WAL from disk and startup applies WAL files on standby. Recent changes: PG15 adds pre-fetch WAL data, PG16 fixes a standby startup crash, and PG17 plans allow WalSender to read WAL from buffers instead of always hitting files. Proposed improvements include sending WAL before local flush finishes (decoupling flush/apply), doing standby pre-processing so apply is faster, and exploring io_uring for networking to cut replication latency.

AI-written summary · about

  1. 0:00Intro to speaker & topic
  2. 2:41Replication terminology
  3. 10:19How does physical replication work?
  4. 16:29Recent improvements in physical replication
  5. 18:38Opportunities for future improvements to physical replication
~/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.