---
title: "Why ClickHouse Cloud wins at real-time analytics"
description: "In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless."
url: "https://swe.quest/articles/why-clickhouse-cloud-wins-at-real-time-analytics-ff3bf2806ccb7be7"
canonical: "https://clickhouse.com/blog/why-clickhouse-cloud-wins-at-real-time-analytics"
source: "ClickHouse"
published: "2026-10-28"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 21
tags: ["analytics","storage-engines","query-engines","performance","cost-optimization"]
---

# Why ClickHouse Cloud wins at real-time analytics

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-10-28, 21 min read, Deep dive. Original: [https://clickhouse.com/blog/why-clickhouse-cloud-wins-at-real-time-analytics](https://clickhouse.com/blog/why-clickhouse-cloud-wins-at-real-time-analytics)

## Summary

In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless. Its lead comes from sorting data and computing incremental materialized-view pre-aggregations in memory at insert time, so summaries never lag behind raw data. Background part merges then keep combining the mergeable aggregation states. Ingestion and merging are parallelized across nodes, cores and SIMD lanes, and a 4-core ingest service prepared all the data for $28.69 with 14.4× compression, while the other systems needed separate asynchronous refresh stages that lagged and cost $79–$696.

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)
- [Storage engines](https://swe.quest/tags/storage-engines.md) (Data & databases)
- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- columnar databases ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))
- materialized views
- OLAP query basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))

## Keywords

ClickHouse Cloud, CostBench, Snowflake, Databricks, BigQuery, Redshift Serverless, materialized views, SIMD

## Related posts

- [Why Snowflake can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-snowflake-can-t-match-clickhouse-cloud-for-real-time-analytics-a0d24a843f0ecba4.md): ClickHouse · 2026-09-10 · Medium · 18 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  In the CostBench continuous-ingestion benchmark (113.2 billion stock quotes streamed toward 1M rows/s while aggregate and drill-down queries ran on the freshest data), ClickHouse Cloud scored 412× better end-to-end performance per dollar than Snowflake.
- [The end-to-end cost-performance of real-time analytics: Snowflake vs. ClickHouse Cloud](https://swe.quest/articles/the-end-to-end-cost-performance-of-real-time-analytics-snowflake-vs-clickhouse-a79249cfefaab552.md): ClickHouse · 2026-06-23 · Medium · 29 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  CostBench measures real-time analytics cost-performance end to end: continuous ingest at a fixed 1 million rows/sec, keeping raw data ordered for pruning, maintaining fresh pre-aggregations, and serving queries continuously while all of that runs.
- [Why Redshift Serverless can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-redshift-serverless-can-t-match-clickhouse-cloud-for-real-time-analytics-8ba7c0518a8afd27.md): ClickHouse · 2026-10-14 · Hard · 20 min read · Analytics & OLAP, Stream processing, Cost optimization, Performance engineering, Cloud platforms
  In a CostBench continuous-ingestion test streaming 113.2 billion stock quotes at a target of 1M rows/s, ClickHouse Cloud scored 1,996× better end-to-end performance per dollar than Redshift Serverless.
- [Why Databricks can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-databricks-can-t-match-clickhouse-cloud-for-real-time-analytics-64110106fa23e085.md): ClickHouse · 2026-10-06 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  In a vendor-run CostBench test, ClickHouse Cloud and Databricks each ingested a stream of 113.2 billion stock quotes, targeting 1M rows/s, while aggregate and drill-down queries ran on schedule.
- [Why BigQuery can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-bigquery-can-t-match-clickhouse-cloud-for-real-time-analytics-fd197ffd824251d5.md): ClickHouse · 2026-10-08 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Cloud platforms, Data pipelines
  In the CostBench benchmark, ClickHouse Cloud and BigQuery ingest 113.2 billion stock quotes at a target of 1M rows/s while aggregate and drill-down queries run continuously, and ClickHouse Cloud scores 438× better end-to-end performance per dollar under BigQuery Capacity pricing and 512× under On-demand.

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)
