~/talk

Parallel Recovery in PostgreSQL

Talkat PGCon 2023 · 2023-05-30..06-02· [databases]
links:none on file
slides:none on file

Prototype adds a parallel recovery engine to startup that reads WAL into a shared circular WAL buffer and dispatches records to reader/distributor/block/txn/invalid-page workers; block workers replay page-oriented WAL in parallel while a txn worker serializes commits and prepare/commit-prepared points. Implementation uses shared memory, spinlocks, Unix domain sockets and POSIX message queues, runs under PG 14/15 branches, is ~7k lines of patch (≈4k without debug), defaults off, appears functional but lacks full resource-manager testing and measured performance.

AI-written summary · about

  1. 0:00Start
  2. 7:37EDB Motivation of parallelism in the recovery?
  3. 10:45EDB Basic idea of constraints in parallel replay
  4. 16:06EDB Worker processes for parallel recovery (cont.) ⚫ Block worker (multiple, configurable)
  5. 25:34EDB Transaction status
  6. 28:00EDB Synchronization among workers
  7. 38:51EDB Issues for discussion
~/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.