Two-way sync
Changes in ClickHouse or MotherDuck instantly reflect in both systems. No stale data, no manual imports.
Keep ClickHouse and MotherDuck in sync without custom scripts. Cut weeks of integration work, eliminate silent data drift, and give your team a single, reliable source of truth.
Companies end up with two warehouses for practical reasons: a migration in progress, teams that standardized on different platforms, an acquisition, or tools that only connect to one of them. The result is the same dataset maintained twice, with duplicated pipelines and numbers that almost match.
Stacksync syncs tables between ClickHouse and MotherDuck continuously, in either or both directions. Rows changed on one platform appear on the other within seconds, with schema and type mapping handled, so both warehouses answer questions with the same data.
Bring the acquired company's warehouse data across continuously instead of through one-off dumps.
When one platform is replacing the other, keep tables mirrored while workloads move over gradually, and cut over with nothing to backfill.
Mirror the datasets a BI tool, notebook, or application needs onto the platform it can actually reach.
Representative objects on each side — any object or custom field can map to any target. Schemas are auto-detected; types are converted between the two systems.
| ClickHouse objects | MotherDuck objects | |
|---|---|---|
| Dictionaries In-memory lookup structures refreshed from external sources, sometimes fed by syncs. | Attached Local DuckDB Databases Local files attached alongside cloud databases for hybrid queries. | |
| Tables (MergeTree family) Columnar, append-optimized tables that serve as the destination for high-volume sync loads. | Databases Cloud-hosted DuckDB databases that scope a sync's reads and writes. | |
| Databases Namespaces that group tables and scope permissions for sync users. | Schemas Namespaces within a database used to organize synced tables. | |
| Views Saved queries used as curated, read-only sync sources. | Tables The main landing target for synced records and source for analysis. | |
| Materialized views Insert-time transformations that reshape incoming synced rows into aggregates. | Views Modeled projections used as outbound sync sources. | |
| Distributed tables Query-routing tables over cluster shards in self-managed deployments. | Database Shares Read-only copies of a database shared with other users or teams. |
Real-time sync, workflow automation, event queues, EDI, and monitoring, for every ClickHouse–MotherDuck connection.
Changes in ClickHouse or MotherDuck instantly reflect in both systems. No stale data, no manual imports.
Trigger automated workflows whenever ClickHouse or MotherDuck data changes, update records, fire webhooks, or kick off sequences without brittle API scripts.
Handle millions of events per minute without losing a single ClickHouse or MotherDuck record.
Track your ClickHouse ⇄ MotherDuck sync health, view errors, and replay failed events in one click.
Transform legacy EDI complexity into simple database interactions between ClickHouse and MotherDuck.
Configure and sync within minutes, no code. Whether you sync 50k or 100M+ records, Stacksync handles the queues, infra, and plumbing. Integrations are non-invasive and need zero setup on your systems.
Authenticate ClickHouse and MotherDuck with each platform's native method — OAuth, API keys, or service accounts — plus secure options like SSH tunneling, IP whitelisting, and VPC peering.
Pick the ClickHouse and MotherDuck objects to sync — Stacksync auto-detects both schemas, including custom fields where the platform exposes them. Sync to existing tables, or let Stacksync create new ones with ideal data types.
Fields map automatically even when names and types differ. Stacksync handles transformation and type casting for you, zero configuration required.
Yes. Stacksync provides a managed, real-time two-way integration between ClickHouse and MotherDuck: authenticate both systems, choose the objects to sync (such as ClickHouse's Dictionaries and Tables (MergeTree family)), map fields visually, and changes propagate both ways in milliseconds — no code required.
Common patterns for ClickHouse and MotherDuck: Consolidation after M&A; Migration without a big bang; Serve tools that only connect to one platform. Bring the acquired company's warehouse data across continuously instead of through one-off dumps.
ClickHouse: Native TCP protocol and HTTP interface; standard SQL dialect, with MySQL and PostgreSQL wire compatibility available. Authentication: Database credentials (username/password); ClickHouse Cloud issues per-service credentials over TLS. MotherDuck: SQL through DuckDB clients and drivers using a MotherDuck (md:) connection. Authentication: Access token created in MotherDuck (Settings > General > Create Token), pasted into Stacksync; database name and schema configurable if not using defaults. Stacksync manages authentication, retries, and rate limits on both sides.
ClickHouse: It exposes both a native TCP protocol and an HTTP interface, and can additionally speak MySQL and PostgreSQL wire protocols for compatibility with existing drivers. MotherDuck: Hybrid execution can split a query between the local DuckDB process and cloud compute. Stacksync's field mapping accounts for these differences between ClickHouse and MotherDuck without custom code.
Stacksync is SOC 2 Type II and ISO 27001 certified with HIPAA BAA support. Data is encrypted in transit, and a zero-persistent-storage architecture means ClickHouse and MotherDuck records are not retained after a sync operation.
Stacksync pricing is usage-based and starts at $1,000/month, including the managed ClickHouse and MotherDuck connectors, real-time two-way sync, monitoring, and support. That replaces building and maintaining a custom ClickHouse–MotherDuck integration in-house.
As a data company, we understand the importance of keeping your data secure. Stacksync is built with security best practices to keep your data safe at every layer, and is DPF-certified for US, EU, UK and CH data transfers.
Let your users access Stacksync from your centralized user management systems. Works with Okta, Azure, Google SSO and more.
Immediately get alerted about record syncing issues over email, Slack, PagerDuty and WhatsApp. Resolve issues from a centralized dashboard with retry and revert options.
Securely connects to your systems with:
Every pair below is a real-time, two-way sync. Search all 386 integrations available for ClickHouse and MotherDuck.