~/talk

The Life of a Tuple in Logical Replication

Talkat PGConf India 2026 · 2026-03-11..03-13· [databases]
links:none on file
slides:none on file

A single tuple flows from WAL generation through a walsender that runs logical decoding, into the reorder buffer which groups per-transaction changes and may reorder buffer spill to disk when memory limits hit, then into the pgoutput plugin which applies column/row filters and emits pgoutput relation sync and insert/commit messages. A replication slot preserves WAL with replication slot restart_lsn and confirmed_flush_lsn; an apply worker and per-table sync workers apply initial copies, local transactions, and send feedback to advance the slot.

AI-written summary · about

  1. 0:00Introduction to logical replication
  2. 1:53Logical replication setup
  3. 5:07Wall generation process
  4. 8:00Incremental changes flow
  5. 13:18Logical decoding explained
  6. 17:09Reorder buffer details
  7. 21:21Output plugin role
  8. 26:59Apply worker processing
  9. 31:42Update and delete handling
~/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.