~/talk

Operating Postgres Logical Replication at Massive Scale

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

ClickHouse runs Postgres logical decoding as a production CDC pipeline moving ~300–350 TB of CDC data per month (350B+ rows) for 300+ customers, with individual Postgres DBs up to ~60 TB. The system uses Temporal workflows, Kubernetes pods, S3 staging, and a stateless flow worker design that decouples reads and writes; it implements parallel CTID snapshotting and always-on replication slots to avoid WAL bloat. PureDB (OSS) and ClickPipes (managed) power the deployment; it works in production but still handles schema-change gaps, slot-growth and single-thread decoding limits.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:35Postgres CDC and logical replication primer
  3. 9:58Postgres to ClickHouse replication at scale
  4. 16:21Architecture for massive scale replication
  5. 27:34Key design decisions and optimizations
  6. 33:48Obsessing over user experience
  7. 38:20Big gaps and future roadmap
  8. 40:26ClickHouse managed Postgres service
  9. 41:10Live demo and state machine walkthrough
  10. 46:25Q&A and closing remarks
~/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.