WalShadow is a low latency replication mechanism from Postgres to ClickHouse. It reads the physical write ahead log directly rather than relying on logical replication, so changes land in ClickHouse within a second of being committed. This allows companies to blend transactional and analytical workloads: Postgres keeps serving the application, ClickHouse serves the analytics, dashboards and AI agents over the same data, and neither gets in the way of the other.
This video shows an end to end capital markets example of WalShadow in action. A market making application writes its order book and trades to Postgres, the data is replicated into ClickHouse Cloud, and from there we build live dashboards over the trade flow and let an AI agent answer questions in natural language, all against data that was written seconds earlier.
A three part series from our engineering team. We run the open source WalShadow against a million row PostgreSQL 18 database, compare it with PeerDB and Debezium on throughput, latency, CPU, recovery and 34 schema change and operational cases, and then repeat the tests on ClickHouse Cloud with managed WalShadow and a ClickPipe reading the same Managed Postgres at the same time.

WalShadow replicates Postgres to ClickHouse from the physical WAL rather than logical replication. We explain why that matters, then run the open source version against a million row PostgreSQL 18 database with inserts, updates, deletes and schema changes.

We ran WalShadow, PeerDB and Debezium with Kafka from the same PostgreSQL into the same ClickHouse and compared throughput, latency, CPU, recovery after failures and 34 schema change and operational cases, each checked value by value.

ClickHouse now offers WalShadow as a managed replication method from its own Managed Postgres, next to ClickPipes. We ran both against the same instance at the same time and compared data freshness, burst throughput, schema changes and recovery.
WalShadow did not appear from nowhere. ClickHouse acquired PeerDB in 2024 and it became ClickPipes, the managed Postgres CDC on ClickHouse Cloud and the route most production Postgres to ClickHouse pipelines run on today. It uses logical replication, which is mature, works with every managed Postgres and is the baseline WalShadow is measured against in part two of the series. This earlier series covers PeerDB open source, ClickPipes and a demo, and is still the right starting point if you are on a managed Postgres outside ClickHouse Cloud.

Using PeerDB open source to reliably replicate data from PostgreSQL to ClickHouse.

Using ClickPipes to reliably replicate data from PostgreSQL to ClickHouse.

A video walkthrough of PeerDB open source and ClickPipes for Postgres CDC.
Whether you are choosing between WalShadow, ClickPipes and Debezium, or already run a pipeline that drifts on schema changes, get in touch and we will run the comparison on your own workload.
Get in touch