---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=clickhouse&tag=replication"
---

# Posts

Filtered by topics: Replication, source: ClickHouse.

Posts 1–24 of 32, page 1 of 2, newest first.

## 2026-11-24

- [PostgreSQL 19 on ClickHouse Managed Postgres, from day one](https://swe.quest/articles/postgresql-19-on-clickhouse-managed-postgres-from-day-one-f842fb2eaa8035d3.md): ClickHouse · 2026-11-24 · Medium · 12 min read · PostgreSQL, Replication, Deployment, Databases
  PostgreSQL 19 has been generally available on ClickHouse Managed Postgres since its November 2026 release day.

## 2026-11-17

- [More load is faster: Tuning Postgres read replicas](https://swe.quest/articles/more-load-is-faster-tuning-postgres-read-replicas-edfe2bbdc0de0a5f.md): ClickHouse · 2026-11-17 · Hard · 9 min read · PostgreSQL, Replication, Performance engineering
  Postgres read replicas fed from archived WAL (rather than streaming replication) show a U-shaped lag curve: idle systems wait up to archive\_timeout (60s) for a 16MB segment to fill, while very high write rates make archive upload fall behind.

## 2026-11-06

- [What I learned from a month with WalShadow on ClickHouse Managed Postgres](https://swe.quest/articles/what-i-learned-from-a-month-with-walshadow-on-clickhouse-managed-postgres-89e5a8963b72573d.md): ClickHouse · 2026-11-06 · Medium · 16 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow, which decodes physical Postgres WAL outside the database and writes blocks directly to ClickHouse, held median replication latency near 0.4 s from 1 to 200,000 rows/s on a 16 vCPU source.

## 2026-11-04

- [Fencing a Postgres primary that might still be alive](https://swe.quest/articles/fencing-a-postgres-primary-that-might-still-be-alive-67043bdd5aea0f6c.md): ClickHouse · 2026-11-04 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Networking, Cloud platforms
  Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous\_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

## 2026-11-03

- [Does your application need local data or faster Postgres?](https://swe.quest/articles/does-your-application-need-local-data-or-faster-postgres-dc8690cbad1e3fc9.md): ClickHouse · 2026-11-03 · Easy · 9 min read · PostgreSQL, Local-first & sync, System design, Replication, AI agents
  Before adding a sync engine or local data copy to speed up an application, check whether the real bottleneck is network-attached storage under managed Postgres.

## 2026-10-13

- [Postgres at Open House NYC](https://swe.quest/articles/postgres-at-open-house-nyc-5b2de1c38cc64f40.md): ClickHouse · 2026-10-13 · Easy · 6 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  ClickHouse used its Open House NYC keynote to launch WalShadow, an open-source engine that replicates Postgres into ClickHouse from the physical WAL instead of logical replication.

## 2026-09-28

- [chDB Durable Layer for agent memory](https://swe.quest/articles/chdb-durable-layer-for-agent-memory-f44e23c2b52592d1.md): ClickHouse · 2026-09-28 · Medium · 14 min read · AI agents, Analytics & OLAP, Storage systems, Replication, Python
  chDB Durable Layer wraps the embedded chDB (ClickHouse) OLAP engine so a local MergeTree working copy can be published to object storage you own (S3, GCS, Azure) and recovered on another host.

## 2026-09-21

- [Postgres on NVMe: performance and the convergence of transactions and analytics](https://swe.quest/articles/postgres-on-nvme-performance-and-the-convergence-of-transactions-and-analytics-6553677f279f656e.md): ClickHouse · 2026-09-21 · Medium · 8 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Analytics & OLAP
  Running Postgres on local NVMe instead of gp3 EBS gave 9.2× more throughput (16,030 vs 1,734 TPS) and UPDATE latency of 4.0 ms vs 36.9 ms in a pgbench benchmark with a 482 GiB dataset about 30× larger than RAM.

## 2026-09-15

- [Replica-aware routing public beta](https://swe.quest/articles/replica-aware-routing-public-beta-dc0c815797e9326c.md): ClickHouse · 2026-09-15 · Medium · 7 min read · Load balancing, Consistency models, Replication, Analytics & OLAP, Cloud platforms
  ClickHouse Cloud's replica-aware routing pins requests to a single replica so temporary tables, named sessions, warm local caches and read-after-write consistency work on multi-replica services.

## 2026-09-10

- [Introducing WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL](https://swe.quest/articles/introducing-walshadow-sub-second-postgres-replication-to-clickhouse-from-722f53f940cda679.md): ClickHouse · 2026-09-10 · Medium · 5 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow is an open-source engine that replicates Postgres to ClickHouse by decoding the physical WAL stream outside the source database, instead of using logical replication slots.

## 2026-09-02

- [MySQL CDC connector for ClickPipes is now Generally Available](https://swe.quest/articles/mysql-cdc-connector-for-clickpipes-is-now-generally-available-67d5bc9ddaf5dc04.md): ClickHouse · 2026-09-02 · Easy · 6 min read · Event-driven architecture, MySQL, Analytics & OLAP, Replication, Data pipelines
  ClickPipes' MySQL CDC connector, which replicates MySQL and MariaDB into ClickHouse Cloud, is generally available after moving over 1PB for hundreds of customers.

## 2026-09-01

- [New system views in PostgreSQL 19](https://swe.quest/articles/new-system-views-in-postgresql-19-ae28d882e3a54409.md): ClickHouse · 2026-09-01 · Medium · 12 min read · PostgreSQL, Observability, Databases, Replication
  PostgreSQL 19 (in beta) adds four system views, and three of them get hands-on demos. pg\_stat\_lock gives cumulative per-locktype wait counts, wait time and fastpath\_exceeded counters, though waits only count once they pass deadlock\_timeout. pg\_stat\_recovery returns standby replay state as one atomic, consistent snapshot. pg\_stat\_autovacuum\_scores shows the new score-based autovacuum prioritization, tunable through five weight parameters.

## 2026-08-25

- [Read your writes: WAIT FOR in PostgreSQL 19](https://swe.quest/articles/read-your-writes-wait-for-in-postgresql-19-ead8d2a645bd23c3.md): ClickHouse · 2026-08-25 · Medium · 6 min read · PostgreSQL, Replication, Consistency models
  PostgreSQL 19 adds a top-level \`WAIT FOR LSN\` command that blocks a session until a standby has written, flushed or replayed WAL up to a given LSN, giving read-your-writes consistency on asynchronous replicas without the per-commit cost of \`synchronous\_commit = remote\_apply\`.

## 2026-08-20

- [POSETTE Talk Recap - Postgres Isn't Slow. Your Storage Is](https://swe.quest/articles/posette-talk-recap-postgres-isn-t-slow-your-storage-is-bd5c03e12884ee39.md): ClickHouse · 2026-08-20 · Medium · 7 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Cloud platforms
  PostgreSQL scaling symptoms such as slow UPDATE-heavy ingestion, erratic P95 reads, autovacuum lag, disruptive checkpoints and logical replication lag often share one root cause: storage I/O limits.

## 2026-07-21

- [PostgresBench: Measuring the impact of High Availability on Managed Postgres performance](https://swe.quest/articles/postgresbench-measuring-the-impact-of-high-availability-on-managed-postgres-f5f54e9ac5894971.md): ClickHouse · 2026-07-21 · Medium · 7 min read · PostgreSQL, Replication, Performance engineering, Cloud platforms
  PostgresBench now measures the performance cost of high-availability configurations across managed Postgres services, comparing shared-nothing designs (ClickHouse Managed Postgres, RDS, Crunchy Bridge) that use streaming standbys with shared-storage forks (Aurora, Neon) that replicate WAL to a storage layer.

## 2026-02-20

- [Building an enterprise Postgres service in ClickHouse Cloud](https://swe.quest/articles/building-an-enterprise-postgres-service-in-clickhouse-cloud-d1a33138c29d5132.md): ClickHouse · 2026-02-20 · Easy · 5 min read · PostgreSQL, Replication, Event-driven architecture, Security
  ClickHouse Cloud's managed Postgres runs on NVMe with up to two cross-AZ synchronous standbys using quorum commit (acknowledged when one standby confirms) and automatic failover.

## 2026-02-19

- [Making large Postgres migrations practical: 1TB in 2 hours with PeerDB](https://swe.quest/articles/making-large-postgres-migrations-practical-1tb-in-2-hours-with-peerdb-cc7872fe91229eda.md): ClickHouse · 2026-02-19 · Medium · 13 min read · PostgreSQL, Replication, Schema migrations, Performance engineering, Data pipelines
  PeerDB migrated a 1TB, 3.6-billion-row Postgres table in about 1 hour 50 minutes with 8 threads, compared with 8 hours 40 minutes for native logical replication and 17 hours for pg\_dump/pg\_restore.

## 2026-01-27

- [PostgreSQL + ClickHouse as the Open Source unified data stack](https://swe.quest/articles/postgresql-clickhouse-as-the-open-source-unified-data-stack-2760f19ba52907df.md): ClickHouse · 2026-01-27 · Easy · 5 min read · PostgreSQL, Analytics & OLAP, Event-driven architecture, Replication
  An open source stack pairs PostgreSQL as the transactional system of record with ClickHouse for analytics, connected by PeerDB for change data capture and the pg\_clickhouse extension, which transparently offloads analytical queries from Postgres to ClickHouse.

## 2025-12-03

- [Postgres CDC in ClickHouse, A year in review](https://swe.quest/articles/postgres-cdc-in-clickhouse-a-year-in-review-6b9d350bcade98d4.md): ClickHouse · 2025-12-03 · Medium · 13 min read · PostgreSQL, Event-driven architecture, Data pipelines, Analytics & OLAP, Replication
  A year after PeerDB's acquisition, Postgres CDC into ClickHouse via ClickPipes has grown to 400+ companies replicating over 200 TB per month, driven by real-time customer-facing analytics and data warehousing workloads.

## 2025-11-11

- [ClickPipes for Postgres now supports failover replication slots](https://swe.quest/articles/clickpipes-for-postgres-now-supports-failover-replication-slots-63903c6595faed76.md): ClickHouse · 2025-11-11 · Medium · 3 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  Postgres ClickPipes can now create logical replication slots with failover enabled, so CDC pipelines into ClickHouse survive a primary-to-standby promotion.

## 2025-09-09

- [TimescaleDB to ClickHouse replication: Use cases, features, and how we built it](https://swe.quest/articles/timescaledb-to-clickhouse-replication-use-cases-features-and-how-we-built-it-be36fccc04b0f111.md): ClickHouse · 2025-09-09 · Medium · 4 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  ClickPipes' Postgres CDC connector, built on PeerDB, now replicates TimescaleDB hypertables into ClickHouse for one-time migrations, staged migrations, or running both databases side by side.

## 2025-07-08

- [When SIGTERM Does Nothing: A Postgres Mystery](https://swe.quest/articles/when-sigterm-does-nothing-a-postgres-mystery-0ecf6df7cd549d22.md): ClickHouse · 2025-07-08 · Hard · 11 min read · PostgreSQL, Replication, Debugging, Event-driven architecture
  Creating a logical replication slot on a Postgres hot standby (v16+) can hang indefinitely and ignore pg\_cancel\_backend and pg\_terminate\_backend when a transaction is still open on the primary.

## 2025-05-13

- [Under the Hood: Building MySQL Change Data Capture in ClickPipes](https://swe.quest/articles/under-the-hood-building-mysql-change-data-capture-in-clickpipes-285d2b2e8ad92711.md): ClickHouse · 2025-05-13 · Medium · 7 min read · Event-driven architecture, MySQL, Replication, Analytics & OLAP, Data pipelines
  ClickPipes captures MySQL changes by streaming the ROW-format binary log after an initial consistent snapshot, tracking progress through either GTID sets or binlog file/position checkpoints.

## 2025-03-06

- [Postgres to ClickHouse: Data Modeling Tips V2](https://swe.quest/articles/postgres-to-clickhouse-data-modeling-tips-v2-421af33ac59693d5.md): ClickHouse · 2025-03-06 · Medium · 21 min read · Analytics & OLAP, PostgreSQL, Event-driven architecture, Replication, SQL
  Postgres CDC into ClickHouse (via PeerDB or ClickPipes) uses logical decoding and maps tables to ReplacingMergeTree.

[Next page](https://swe.quest/index.md?source=clickhouse&tag=replication&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=clickhouse&tag=replication](https://swe.quest/feed.xml?source=clickhouse&tag=replication). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
