ClickHouse vs Databricks: a real-time database vs a lakehouse platform (three jobs, scored)
Databricks' own docs say Photon doesn't improve queries that already run in under two seconds, and that zone is where ClickHouse lives. We hand both the same three jobs (a live dashboard, a nightly pipeline, governed analyst SQL), compare how each one bills, look at the new Lakehouse Real-Time engine's fine print and the benchmark small print, and show how ClickHouse reads Databricks' Delta tables.
Here is a sentence from Databricks’ own documentation that explains most of this comparison: “Photon doesn’t improve queries that normally run in under two seconds” (What is Photon?). Photon is Databricks’ fast, vectorized C++ engine. Below two seconds is exactly where ClickHouse makes its living: dashboards and APIs that answer while a user waits.
So ClickHouse vs Databricks isn’t really two databases. It’s a database against a platform. Instead of crowning a winner, this post hands both the same three jobs and scores each one. Every number comes from the vendors’ docs, price lists and published benchmarks (read on 28 November 2026). Nothing was benchmarked for this post, and the dollar figures are plain arithmetic on list prices.
Two different kinds of thing
| ClickHouse | Databricks | |
|---|---|---|
| What it is | Open-source column-store database (Apache 2.0) + ClickHouse Cloud | Data and AI platform on your cloud account |
| Where the data lives | In ClickHouse’s own parts (local disks, or object storage on Cloud) | In your object storage as Delta Lake (Parquet files + a transaction log) |
| Engines | One: the ClickHouse server | Spark for jobs, Photon in SQL warehouses, and since June 2026 Lakehouse//RT (beta) |
| How it skips data | Sparse primary index: one entry per 8,192-row granule | Per-file min/max statistics, by default on the first 32 columns |
| Billing unit | Cloud: compute units (8 GiB RAM + 2 vCPU), per minute | DBUs, per second |
| Born | Yandex.Metrica (“Clickstream Data wareHouse”) | Spark at UC Berkeley AMPLab, 2009; Databricks founded 2013 |
ClickHouse owns its storage. Every insert lands as a part sorted by the table’s key, and background merges combine small parts into bigger ones (MergeTree docs).
Databricks doesn’t own your data in the same way. A Delta table is a folder of Parquet files plus a _delta_log/ directory of JSON commits: writers “optimistically write out new data files”, then commit “the latest atomic version of the table by adding a new entry to the log” (Delta protocol). Compute is rented on top: Spark clusters for jobs, and SQL warehouses running Photon, which replaces Spark’s JVM execution with “a native C++ runtime” for supported operations.
A small irony: Databricks’ founders wrote in 2021 that “the data warehouse architecture as we know it today will wither” and be replaced by the lakehouse (CIDR 2021 paper). ClickHouse’s name is literally short for “Clickstream” + “Data wareHouse” (FAQ).
Job 1: a live dashboard inside your product
Thousands of users, fresh events, every click a query. This is ClickHouse’s home.
- Skipping: the primary index stores one entry per granule of 8,192 rows, small enough to stay in memory. In ClickHouse’s own guide, a table of 8.87 million rows needs 1,083 index entries, and a query filtering on the first key column processed 8.19 thousand rows instead of all 8.87 million (sparse primary indexes). The catch: filter on the second key column and the same guide reads 8.81 million rows. You design the key.
- Freshness: with asynchronous inserts, ClickHouse buffers rows in memory and flushes when the buffer hits 100 MiB, 450 queries, or 200 ms (1,000 ms on ClickHouse Cloud), whichever comes first. Until a flush, buffered data can’t be queried (asynchronous inserts).
Databricks skips data too: statistics (min, max, null count, row count per file) are collected when you write Delta or managed Iceberg tables, by default on the first 32 columns of the schema, and Databricks recommends liquid clustering for new tables (data skipping). But its SQL warehouses are sized for analysts: the docs recommend “one cluster for every 10 concurrent queries” (sizing and queuing).
Job 1: ClickHouse. (Databricks’ new answer to this job is further down.)
Job 2: the nightly pipeline and a model
Every night, turn terabytes of raw files into clean tables, then train a model on them. This is Databricks’ home turf. Spark “started as a research project at the UC Berkeley AMPLab in 2009” (Spark history), and Databricks was founded in 2013 by its creators (about). Python, SQL and notebooks work on the same tables, jobs scale out across a cluster, and every write is an atomic commit to Delta’s log.
ClickHouse can transform data with SQL (INSERT ... SELECT) and materialized views, but notebooks and model training are not what it’s built for.
Job 2: Databricks.
What each one costs
Databricks bills in DBUs (“a normalized unit of processing power”), at per-second granularity (pricing). On the Databricks SQL price list (Premium plan, AWS US East, read 28 Nov 2026):
| SQL warehouse type | List price | Starts in | Notes |
|---|---|---|---|
| Serverless | $0.70 / DBU | 2–6 s | cloud instances included; auto stop default 10 min (5 min minimum in the UI, 1 min via the API) |
| Pro | $0.55 / DBU | ~4 min | + your cloud provider’s VMs; auto stop default 45 min |
| Classic | $0.22 / DBU | ~4 min | + your cloud provider’s VMs; Photon only, no Predictive IO |
| Lakehouse//RT (beta) | $0.55 / DBU | — | 30% promotion until 31 Jan 2027 per the price page |
Start-up times and auto-stop values are from the warehouse types and create a warehouse docs. Serverless sizes burn 4 DBUs an hour for 2X-Small up to 528 for 4X-Large (serverless DBU by SKU). And the create form’s default size is X-Large, 80 DBUs an hour, which at the serverless list price is $56 an hour.
ClickHouse Cloud meters compute per minute in compute units of 8 GiB RAM and 2 vCPU: $0.218 (Basic), $0.298 (Scale) or $0.390 (Enterprise) per unit-hour in AWS us-east-1, storage $25.30 per TB-month, and compute scales to zero when a service is idle (pricing). Self-managed ClickHouse costs whatever your servers cost.
Careful: a DBU and a compute unit aren’t the same size, and Databricks doesn’t publish the hardware behind a serverless size. These tags don’t compare one to one; only your own workload on both does.
Job 3: analysts asking new questions, with permissions
Ad-hoc SQL across the company’s data, governed. Databricks SQL does this natively, on the same tables last night’s pipeline wrote, with permissions in Unity Catalog.
ClickHouse can join in. The deltaLake table function reads Delta tables in S3, Azure or local storage, and Delta writes are a beta feature, off by default (deltaLake). It can also attach Unity Catalog as a database, in beta since 25.8 (experimental before) (Unity Catalog):
-- read one Delta table directly
SELECT count() FROM deltaLake('https://my-bucket.s3.amazonaws.com/path/to/table/');
-- or attach a whole Unity Catalog (beta)
SET allow_database_unity_catalog = 1;
CREATE DATABASE unity
ENGINE = DataLakeCatalog('https://<workspace-id>.cloud.databricks.com/api/2.1/unity-catalog')
SETTINGS warehouse = 'CATALOG_NAME', catalog_credential = '<PAT>', catalog_type = 'unity';
Job 3: a draw that leans Databricks, because the data already lives there.
Databricks walks into job 1: Lakehouse Real-Time
On 16 June 2026 Databricks launched Lakehouse Real-Time (Lakehouse//RT), powered by a new engine it calls Reyden. The vendor-reported numbers: “sub-100 millisecond latency at 12,000 queries per second” on standard analytical benchmarks and “response times as low as 10ms on smaller datasets” (press release). We found no published methodology or independent test.
The fine print from the docs:
- It’s in Beta, and “performance characteristics and the supported feature set can change”.
- Read queries (
SELECT) and CTAS only; Unity Catalog tables only (Delta or Iceberg); only the Statement Execution API. - Statement timeout 1 minute by default, up to a 2-minute runtime limit.
- “Query results can lag the latest commits to a table by a few seconds”, because it reuses cached metadata.
That’s the lakehouse crossing the two-second line from the top of this post. If it holds up outside the press release, job 1 gets more interesting.
The benchmark small print
ClickBench, maintained by ClickHouse, has listed Databricks since November 2025: SQL warehouses from 2X-Small to 4X-Large, untuned, tagged no-cold (no true cold run). Its README is honest about the limits: one flat table of 99,997,497 rows, queries run “one after another”, and “we allow but do not encourage creating scoreboards”. The twist is in its categories, which are graded against ClickHouse itself: an “Elite” system must be “not more than 10 times worse than ClickHouse” on cold runs, hot runs, load time, data size and concurrent QPS.
Databricks has its own trophy: a TPC-audited TPC-DS 100 TB result of 32,941,245 QphDS, announced in November 2021 (Databricks blog): a multi-table decision-support benchmark that looks nothing like a dashboard hammering one flat table.
Each vendor wins the benchmark it picked. We found no independent, like-for-like head-to-head, so we don’t crown one.
The honest split
| Pick ClickHouse when… | Pick Databricks when… |
|---|---|
| Analytics inside a product, answered while a user waits | Batch ETL over terabytes of raw files |
| Many concurrent users, fresh events every second | Python, notebooks and model training on the same data |
| Observability, time series, event data | One governed copy of company data (Unity Catalog) |
| You want open source you can run anywhere | You want one platform for pipelines, SQL and ML |
Plenty of teams run both, joined by Delta tables. Even YouTube agrees: on 28 November 2026, the top search result for “clickhouse vs databricks” was a video from Databricks’ own channel about using ClickHouse and Databricks together.
Two seconds is the real line between them: where Photon stops helping, and where ClickHouse starts.