---
title: "How we built our Internal Data Warehouse at ClickHouse: A year later"
description: "ClickHouse's internal data warehouse on ClickHouse Cloud now ingests about 6 billion rows (50 TB uncompressed) a day from nineteen sources and holds 470 TB compressed."
url: "https://swe.quest/articles/how-we-built-our-internal-data-warehouse-at-clickhouse-a-year-later-38e2018d0874b279"
canonical: "https://clickhouse.com/blog/building-a-data-warehouse-with-clickhouse-part-2"
source: "ClickHouse"
published: "2024-09-10"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["analytics","data-pipelines","cost-optimization"]
---

# How we built our Internal Data Warehouse at ClickHouse: A year later

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2024-09-10, 9 min read, Case study. Original: [https://clickhouse.com/blog/building-a-data-warehouse-with-clickhouse-part-2](https://clickhouse.com/blog/building-a-data-warehouse-with-clickhouse-part-2)

## Summary

ClickHouse's internal data warehouse on ClickHouse Cloud now ingests about 6 billion rows (50 TB uncompressed) a day from nineteen sources and holds 470 TB compressed. A single monolithic Airflow hourly load job was replaced by dbt-managed transformations split into nine processes, which improved reliability and handled data arriving at different times across sources. Semi-structured real-time data such as Google Analytics nested arrays and JSON control-plane offloads is exposed both raw and as dbt-built aggregates joined into batch reports. Access points expanded from Superset to the ClickHouse Cloud SQL console, Growthbook for A/B tests, and an S3-mediated export to Salesforce, and the team plans to use compute-compute separation to scale ETL and BI workloads independently and cut costs.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- data warehouse concepts ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- SQL ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- ETL pipelines ([easy posts on Data pipelines](https://swe.quest/tags/data-pipelines.md?difficulty=easy))

## Keywords

ClickHouse Cloud, dbt, Airflow, Apache Superset, Growthbook, Salesforce, Google Analytics

## Related posts

- [How we built the Internal Data Warehouse at ClickHouse](https://swe.quest/articles/how-we-built-the-internal-data-warehouse-at-clickhouse-d3d7520881242252.md): ClickHouse · 2023-07-19 · Medium · 16 min read · Analytics & OLAP, Data pipelines, System design, Identity & auth, Scheduling
  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.
- [98% faster queries, 50% lower cloud costs: Verihubs’ journey from Postgres to ClickHouse](https://swe.quest/articles/98-faster-queries-50-lower-cloud-costs-verihubs-journey-from-postgres-to-f6535061aff525b1.md): ClickHouse · 2026-07-06 · Medium · 6 min read · Analytics & OLAP, Data pipelines, PostgreSQL, Event-driven architecture
  Verihubs replaced a Postgres warehouse fed by daily Airflow batch pulls with a ClickHouse-based real-time OLAP stack.
- [How HighLevel rebuilt its data platform for speed, scale, and simplicity on ClickHouse Cloud](https://swe.quest/articles/how-highlevel-rebuilt-its-data-platform-for-speed-scale-and-simplicity-on-826417013669e8fd.md): ClickHouse · 2026-01-12 · Medium · 8 min read · Analytics & OLAP, Databases, Scaling, Observability
  HighLevel replaced MySQL, Elasticsearch, Firestore and a document database with ClickHouse Cloud for lead activity, workflow logs, notifications and billing dashboards.
- [Building a Unified Data Platform with ClickHouse](https://swe.quest/articles/building-a-unified-data-platform-with-clickhouse-cc8bf54cebee136c.md): ClickHouse · 2023-07-28 · Medium · 10 min read · Analytics & OLAP, Databases, Data pipelines, Performance engineering, Go
  Synq, a data observability startup, consolidated its user-facing application, internal BI, in-app analytics and ML training data onto a single ClickHouse Cloud cluster after Postgres with a time-series plugin struggled with large backfills.
- [“Just OLAP it”: How Ramp rebuilt its analytics platform on ClickHouse Cloud](https://swe.quest/articles/just-olap-it-how-ramp-rebuilt-its-analytics-platform-on-clickhouse-cloud-36298842faab88cc.md): ClickHouse · 2026-01-20 · Medium · 5 min read · Analytics & OLAP, Event-driven architecture, Data pipelines, PostgreSQL, Queues & messaging
  Ramp moved customer-facing spend analytics off its Postgres monolith after enterprise customers' reports on a single card-transactions table began taking 40+ seconds, and now serves them in milliseconds from ClickHouse Cloud.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
