Sync Your Data to ClickHouse with Matia

Matia now syncs data to ClickHouse Cloud. Load your sources with full refresh and incremental syncs, backed by support that responds in minutes.
Nicole Baktov, Product Manager
Nicole Baktow

It's Monday morning, and the usage dashboard your customers log into is showing last Thursday's numbers. The events are in ClickHouse, right where they should be. The account data that belongs next to them came from a script that failed over the weekend, and nobody noticed until a customer did.

ClickHouse is built for fast analytical queries on large datasets. CRM and application data changes throughout the day, so keeping it in sync takes more than an initial load. Teams need to track source changes and see when a sync fails.

Most teams patch that gap with scripts, a separate ETL tool, and another tool to watch it all. When something breaks, there's no single place to look.

But now that Matia supports ClickHouse Cloud as an ETL destination, you can connect a Matia source, choose ClickHouse as the destination, and Matia handles the rest. The ClickHouse destination is available now in Matia.

Why we built it

Customer feedback shapes Matia’s roadmap. Ramp’s data team describes that approach:

"Matia has scaled with Ramp at every step. They take the time to understand what our data team needs and that shapes what they build. Adding ClickHouse as a destination is a great example of that partnership in practice."

Kevin Chao, Staff Software Engineer, Ramp

We built the ClickHouse destination ourselves, and we support it ourselves. If a sync needs attention, you reach real engineers on our support team, and they respond in under five minutes.

What we built

The destination supports:

  • Full refresh syncs, with data staged and loaded into ClickHouse in batches
  • Incremental syncs that apply new and changed rows on each run
  • ClickHouse errors mapped to messages in Matia, so a failed load shows which table failed and why
  • Table-level run detail for every sync: records emitted and committed, duration, and errors

How teams use it

ClickHouse is where teams put the data that has to answer fast. Here's what changes when the rest of their data can land there too.

Put customer and revenue context next to product events

A product team already sends app events to ClickHouse. What they can't answer from events alone is which users are on a paid plan, which accounts are up for renewal, or which deals stalled after usage dropped. That context lives in Salesforce and the billing system. With Matia syncing both into ClickHouse, those questions become one query instead of a CSV export and a spreadsheet join.

Keep customer-facing dashboards current

Customer-facing dashboards in ClickHouse Cloud can combine product events with account details such as plan, seat count, and account owner. For sources supported by Matia’s ClickHouse destination, those details become available after each successful sync.

Retire the homegrown loader

Plenty of ClickHouse pipelines started as a script someone wrote in an afternoon. It works until an API changes or a credential expires, and then someone spends the morning reading logs to find which table broke. Moving that load to Matia gives every sync table-level run detail, and a support team of engineers who respond in under five minutes.

Why it matters

Setup takes one dedicated database user. You can revoke that user's access to any database Matia shouldn't touch.

Incremental syncs bring in only what changed, so you aren't reloading full tables every run to keep ClickHouse current. Our post on CDC vs. ETL covers when each method fits.

Because Matia brings ETL, Reverse ETL, Observability, and Catalog together in one platform, your ClickHouse pipelines sit next to everything else you sync. When a load fails, you see which table broke and why, right where you set up the sync.

ClickHouse makes the query fast. Matia gets the data there, and shows you what happened when it doesn't.

How to set it up

You’ll need a ClickHouse Cloud service and an account with permission to create a database user and grant access. Check out details here or read below. 

  1. Create a dedicated database user for Matia with the required permissions on the destination databases. Use this user’s credentials when configuring the Matia connection.
  2. Select your service, click Connect, and choose Native. Copy the hostname and note the port. For most services it's 9440.
  3. In Matia, add ClickHouse as a destination. Enter the hostname, port, username, and password, then click Test Connection.
  4. Point your sources at the new destination and start syncing.

Get access

The ClickHouse Cloud destination is generally available to Matia customers. See the ClickHouse setup guide to get started. If you're new to Matia, book a demo and we'll walk through it with you. If you hit questions during setup, our support team responds in minutes.