Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 6 min read Announcement easyNovice

MySQL CDC connector for ClickPipes is now Generally Available

ClickPipes' MySQL CDC connector, which replicates MySQL and MariaDB into ClickHouse Cloud, is generally available after moving over 1PB for hundreds of customers. Snapshots now run in parallel by default, with the partition key detected automatically from the primary key (including string and UUID types). In benchmarks this cut a 1TB snapshot from over a day to about an hour on 32 workers. New pipes require GTID-based replication, which survives failover unlike binlog file/offset positions, and at least 72 hours of binlog retention to avoid forced full resyncs. Also new are CPU, memory, network and source/destination lag metrics, Terraform and OpenAPI management, and volume-based billing starting September 1, 2026.

Assumes: MySQL binlog replicationchange data capture

Related posts

  • MongoDB CDC connector for ClickPipes is now generally available

    ClickHouse easyNovice

    ClickHouse Cloud's MongoDB CDC connector for ClickPipes, built on MongoDB Change Streams, is generally available after moving over 1.5PB for hundreds of customers. GA adds parallel snapshotting that splits collections into sampled `_id` ranges, and a structured ingestion mode that infers a schema and maps top-level fields to typed columns. Unexpected fields and type mismatches are routed to a `_peerdb_malformed_data` JSON column. It also adds pre-image support so deletes carry full documents, source-side delete filtering, resource and replication-lag metrics (source, destination, end-to-end) exposed via Prometheus, and Terraform/OpenAPI management. Billing starts November 4, 2026, with a claimed 5-10x cost advantage over third-party ETL tools.

  • Under the Hood: Building MySQL Change Data Capture in ClickPipes

    ClickHouse mediumAdept

    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. The source needs binlog_format=ROW and binlog_row_image=FULL so updates can be replayed idempotently. Schema changes are handled by parsing DDL with TiDB's SQL parser, and MySQL types are mapped to ClickHouse types, for example ENUM to LowCardinality(String) and VECTOR to Array(Float32). GTID mode survives failover, but position-based tracking requires resyncing the pipe. Column drops and renames, table renames and TRUNCATE are not propagated, and the target is tens of thousands of changes per second at under 30s latency.

  • Postgres CDC in ClickHouse, A year in review

    ClickHouse mediumAdept

    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. Key engineering changes include keeping logical replication connections open, because reconnects re-read WAL from restart_lsn and spiked lag. CTID block-based partitioning cut initial-load partition generation from 7+ hours to under a second, and 50+ pre-flight checks plus bucketed user-facing alerts cut on-call load by orders of magnitude. The biggest remaining gap is data modeling overhead from ReplacingMergeTree's asynchronous deduplication, which ClickHouse plans to address with lightweight UPDATEs and unique indexes.

  • How Spyne simplified their CDC pipeline with ClickPipes and ClickHouse Cloud

    ClickHouse mediumAdept

    Spyne replaced a self-managed Debezium → Kafka → ClickHouse Kafka-engine/materialized-view CDC pipeline with ClickPipes on ClickHouse Cloud. The move eliminated 1–1.5 hours of manual work per table onboarding and fixed schema drift, where new source columns were silently dropped by DDL-locked materialized views. It also brought tradeoffs: snapshotting a new table pauses the whole pipe, so critical tables were isolated into dedicated pipes. ReplacingMergeTree's eventual consistency required adding FINAL to queries at extra CPU cost, and binlog loss forces full table resyncs instead of targeted partial ones.

  • From Batch Snapshots to Near-Real-Time Data

    Doximity Technology mediumAdept

    Doximity added a Debezium/Kafka/Snowflake CDC pipeline alongside its existing Aurora point-in-time batch snapshots, bringing 95% of sampled events to a queryable layer within eight minutes. Four design decisions made it dependable. Trusted batch snapshots are reused as the bootstrap and recovery baseline, using Debezium's no_data mode plus GTID-bounded replay, which tolerates overlap but never gaps. Topics fan in to one raw Snowflake table and a metadata-driven router fans them back out per table. A base-plus-delta view makes changes visible before deferred MERGE compaction runs. Synthetic delete events reconstruct MySQL ON DELETE CASCADE child deletes that never appear in the binlog. The batch snapshots also act as a stable reference for validating CDC tables after replaying events to a common position.

The quest for software engineering knowledge.

Look:
Layout: