---
title: "Why Databricks can’t match ClickHouse Cloud for real-time analytics"
description: "The CostBench benchmark streamed 113.2 billion stock-market quotes at one million rows per second while running aggregate and drill-down queries to compare ClickHouse Cloud and Databricks for real-time analytics under continuous ingestion. ClickHouse Cloud delivered 752× better end-to-end performance per dollar than the Databricks stack using Serverless SQL, Zerobus Ingest, liquid clustering, and incremental materialized views. ClickHouse Cloud led in all three components: preparation cost ($28.69 versus 695.60), normalized query cost ( 0.05 versus $2.65), and accumulated query runtime (56.39 seconds versus 29.10 minutes). The gap stems from ClickHouse preparing ordered raw data and current summaries on the insert path, while Databricks requires separate clustering and refresh services that cost more and can leave queries with unfinished layout work. Databricks’ new Lakehouse//RT, still in beta, was not included in this comparison."
---

# Why Databricks can’t match ClickHouse Cloud for real-time analytics

[Clickhouse](https://yomu.fyi/company/clickhouse) · Oct 6, 2026

**Type:** Benchmark

## Summary

The CostBench benchmark streamed 113.2 billion stock-market quotes at one million rows per second while running aggregate and drill-down queries to compare ClickHouse Cloud and Databricks for real-time analytics under continuous ingestion. ClickHouse Cloud delivered 752× better end-to-end performance per dollar than the Databricks stack using Serverless SQL, Zerobus Ingest, liquid clustering, and incremental materialized views. ClickHouse Cloud led in all three components: preparation cost ($28.69 versus 695.60), normalized query cost ( 0.05 versus $2.65), and accumulated query runtime (56.39 seconds versus 29.10 minutes). The gap stems from ClickHouse preparing ordered raw data and current summaries on the insert path, while Databricks requires separate clustering and refresh services that cost more and can leave queries with unfinished layout work. Databricks’ new Lakehouse//RT, still in beta, was not included in this comparison.

## Context

Comparison of ClickHouse Cloud and Databricks for real-time analytics using the CostBench benchmark, which measures preparation cost, normalized query cost, and accumulated query runtime under continuous ingestion of 113.2 billion stock-market quotes.

## Approach / What changed

CostBench methodology that measures preparation cost, normalized query cost, and accumulated query runtime to compute an end-to-end performance-per-dollar score under continuous ingestion.

## Takeaways

- ClickHouse Cloud achieved 752× better end-to-end performance per dollar than Databricks in the CostBench benchmark, with 24.3× lower combined preparation and normalized query cost and 31× lower accumulated query runtime.
- The performance difference arises because ClickHouse prepares ordered raw data and current summaries on the insert path, while Databricks requires separate clustering and materialized view refresh services that cost more and can leave queries with unfinished layout work or older summaries.
- The comparison used Databricks Serverless SQL (not the beta Lakehouse//RT) and matched read-side compute at 16 CPUs, with ClickHouse using a 16-CPU, 64-GiB read node and Databricks an X-Small Serverless SQL warehouse.

## FAQ

### What does the CostBench benchmark measure?

CostBench measures preparation cost, normalized query cost, and accumulated query runtime under continuous ingestion, then combines them into an end-to-end performance-per-dollar score. It tracks the path from data arrival to answers, showing how preparation efficiency affects query cost and runtime.

### Why did ClickHouse Cloud have lower preparation cost than Databricks?

ClickHouse prepares ordered raw data and current summaries on the insert path using asynchronous inserts, while Databricks requires separate Zerobus Ingest, liquid clustering, and incremental materialized view refresh services. These additional services cost more and can leave queries with unfinished layout work or older summaries.

### Was Databricks' new real-time warehouse Lakehouse//RT included in the comparison?

No, Lakehouse//RT was not included because it was unavailable in the test workspace. The comparison used Databricks Serverless SQL as the baseline, which the post notes is the accepted comparison.

**Tags:** [Benchmark](https://yomu.fyi/topic/benchmark), [ClickHouse](https://yomu.fyi/topic/clickhouse), [Databricks](https://yomu.fyi/topic/databricks), [Performance](https://yomu.fyi/topic/performance), [Real-Time Analytics](https://yomu.fyi/topic/real-time-analytics)

- Source: [Clickhouse](https://clickhouse.com/blog/clickhouse-vs-databricks-real-time-performance-per-dollar)
- Source URL: https://clickhouse.com/blog/clickhouse-vs-databricks-real-time-performance-per-dollar
- Ingested by Yomu: 2026-10-06T15:00:07.646Z

[Read original post](https://clickhouse.com/blog/clickhouse-vs-databricks-real-time-performance-per-dollar)
