MongoDB
plus
ClickHouse

Sync MongoDB to ClickHouse

Replicate MongoDB into a ClickHouse data warehouse with Polytomic using change streams. Arrays land as native Array columns and documents land as JSON on modern servers, so ETL keeps nested data queryable rather than flattened.

Sync MongoDB to ClickHouse with Polytomic

Arrays stay native

Lists become typed Array columns, including nested arrays, rather than serialized text.

Documents as JSON

Objects land in a JSON column on ClickHouse 24.8 and later, with a string fallback below that.

Deletes arrive as tombstones

A change stream delete carries the document key and is written as a newer marked version.

Or sync ClickHouse to MongoDB

Polytomic is bi-directional by default, so you can move data the other way just as easily.

Trusted by businesses worldwide

Jonathan Krangel

Jonathan Krangel

VP Global Head of Revenue Operations

Cursor

“Polytomic handles so many ETL and sync jobs at Cursor. They are a true partner to us.”

MongoDB
ClickHouse

Step-by-step integration guide

Follow these simple steps to connect MongoDB with ClickHouse in minutes

1

Connect MongoDB in Polytomic

Connect MongoDB to Polytomic using an Atlas SRV string or explicit host details.

2

Connect ClickHouse in Polytomic

Connect ClickHouse with host, port, username and password, plus object storage if you are writing.

3

Create a sync between MongoDB and ClickHouse

Sync data in either direction between MongoDB and ClickHouse. Choose the source data and destination objects for the direction you need.

4

Map fields and enable the sync

Map the fields, choose the sync schedule and behavior, then save and enable the sync.

Frequently asked questions

Get answers to common questions about the integration process

The sync and ETL platform that does it all

Sync icon

Powerful data sync

Sync data in either direction between MongoDB and ClickHouse.

Analytics icon

Advanced analytics

Use both integrations' source and destination capabilities in one managed sync workflow.

Security icon

Enterprise security

Enterprise encryption and security protocols ensure your data remains protected.

Setup icon

Easy setup

Get up and running in minutes with our step-by-step integration guide.

Ready to connect MongoDB with ClickHouse?

Start syncing your data in minutes