~/talk

lesser known Superpower of Postgres Logical Replication

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases, networking]
links:none on file
slides:none on file

Explains how Postgres logical replication evolved from V1 (only post-commit) to V2 (in‑progress streaming), V3 (prepared transactions) and V4 (parallel apply), with a Go program demoing a 100,000-row demo that shows V2 streaming ~6k-row batches mid‑transaction, and benchmarks where two 25M‑row transactions force ~8 GB slot growth but V2 lets the slot drop faster after commit; implementation uses PG output, ClickHouse/PB for ETL, and notes PB is actively implementing protocol V2 support.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Postgres replication methods
  3. 3:55Logical replication overview
  4. 6:04Logical replication workflow
  5. 13:46Protocol version 1 explained
  6. 16:13Protocol version 1 demo
  7. 19:46Protocol version 2 introduction
  8. 22:12Protocol version 2 demo
  9. 25:21Challenges in version 2
  10. 32:05Two-phase commit explained
  11. 36:40Protocol version 3 features
  12. 38:22Protocol version 4 overview
  13. 40:06Conclusion and future
  14. 41:10Q&A
~/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.