Skip to content

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

ClickHouse 4 min read Announcement easyNovice

Announcing the Fivetran Destination for ClickHouse Cloud

ClickHouse Cloud now has an open-source (Apache 2.0) Fivetran destination in public preview, written in Go on the Fivetran Partner SDK, that loads data from Fivetran's 500+ sources. Because Fivetran may send partial update events, the destination reads the full row before reinserting an updated copy, and it uses select_sequential_consistency=1 to avoid stale reads behind load balancers. That setting is cheap on SharedMergeTree but costly on ReplicatedMergeTree, so the destination is Cloud-only for now. Updates and deletes go through SharedReplacingMergeTree, which means queries need FINAL for accurate results. It suits moderate volumes of SaaS data such as Zendesk or Salesforce; for TB/PB-scale loads, ClickPipes or Kafka Connect are the recommended tools.

Related posts

  • ClickHouse Fivetran Destination moves to Beta

    ClickHouse mediumAdept

    The Fivetran destination for ClickHouse Cloud is now in beta and adds History Mode, which implements SCD Type 2 by inserting a new row per change with _fivetran_active, _fivetran_start and _fivetran_end columns, enabling point-in-time snapshots, change tracking and audit queries. It also supports compute-compute separation (Warehouses), so Fivetran ingestion can be isolated from analytical workloads. Because the connector orders tables by source primary keys or a generated _fivetran_id, filters on business columns can cause full scans. The recommended fixes are skip indexes, projections (including lightweight _part_offset secondary-index projections) or materialized views feeding a medallion architecture, each with storage and maintenance tradeoffs.

  • Streamkap: An out-of-the-box CDC solution for ClickHouse

    ClickHouse mediumAdept

    Streamkap's ClickHouse connector streams change data capture from PostgreSQL, MySQL, SQL Server, Oracle and MongoDB into ClickHouse using Kafka, Debezium and Flink. It maps Kafka Connect types, including nested structs and arrays, to ClickHouse types such as Tuple and Array, and adds metadata columns like op type, source timestamp and delete flag to every row. Append mode writes every change to MergeTree tables, while the default upsert mode uses ReplacingMergeTree keyed on the event timestamp and a delete flag, so queries need FINAL to get deduplicated results. The post also covers handling inconsistent semi-structured source data and choosing between blocking and incremental snapshots for the initial load.

  • Data Hive: The story of beehiiv’s journey from Postgres to ClickHouse

    ClickHouse easyNovice

    beehiiv replaced its Postgres-and-Ruby-queue analytics system, which struggled with billions of email events and had multi-hour reporting delays, with a Kafka-fed ClickHouse Cloud pipeline. The design leans on ReplacingMergeTree for idempotent ingestion and event replay, dictionaries to enrich inserts without joins, ephemeral columns for intermediate calculations, materialized views as pre-aggregated shadow tables with alternate sort keys, and window functions for analytics. After six months the system held over 33 billion raw events in 1.5 TiB compressed (13 TiB uncompressed), with 22 ms median and 85 ms average query times. Creators now see send performance within seconds instead of hours.

  • How we built fast UPDATEs for the ClickHouse column store – Part 1: Purpose-built engines

    ClickHouse mediumAdept

    ClickHouse avoids slow in-place row updates in its column store by expressing updates and deletes as inserts that get resolved during the background merges MergeTree already performs. Sorted, immutable data parts can be merged in a single linear pass, so keeping only the latest version adds almost no overhead. ReplacingMergeTree keeps the latest full row per sorting key, CoalescingMergeTree merges sparse partial updates using Nullable columns, and CollapsingMergeTree cancels rows with a sign column, which also lets it change sorting key values. All three give UPSERT semantics but are only eventually consistent, so queries that need current results use FINAL to apply the merge logic in memory at read time.

  • How we built the Internal Data Warehouse at ClickHouse

    ClickHouse mediumAdept

    ClickHouse's internal data warehouse ingests tens of sources (Control Plane, Data Plane, AWS CUR, GCP billing, Salesforce, M3ter and others) into S3 hourly, then loads them into ClickHouse Cloud with the s3 table function and transforms them in SQL. Airflow schedules the work and Superset serves BI to about 100 users. Idempotency comes from ReplicatedReplacingMergeTree with FINAL plus re-runnable DAGs. Consistency comes from insert_quorum=3 rather than "auto", so inserts fail and retry during node restarts instead of leaving replicas incomplete. The team also found it needed a third intermediate business-entity layer beyond raw and mart, chose a single large transformation DAG over Airflow dataset triggers, and drives database-level access control from Google groups mapped to tables, columns and row filters.

The quest for software engineering knowledge.

Look:
Layout: