Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 6 min read Research easyNovice

TPC-H for less than a cent: ClickHouse Cloud vs. Snowflake, Databricks, BigQuery, and Redshift

On TPC-H SF100 (100 GB, 866M rows, 22 join-heavy queries), a single 59-core Graviton3 ClickHouse Cloud node finished hot runs in 19.8s for $0.063. Snowflake Large was faster at 15.9s but cost $0.143, and BigQuery took 26.2s for $0.163. Scoring cost × runtime puts ClickHouse first, with the nearest configurations about 2× worse and large warehouses 25–67× worse. At SF10 the full workload ran in 2.9s for under one cent. The gains come from two years of join work (hash joins, runtime filters, statistics-based join reordering) that made the workload 26× faster. Multi-node distributed joins for SF1000+ are the next focus.

Related posts

  • Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 1

    ClickHouse easyNovice

    ClickHouse Cloud ran a third-party, join-heavy coffee-shop star-schema benchmark (17 queries, originally built to compare Databricks and Snowflake) with no query rewrites or tuning, and came out faster and cheaper at every scale from 721 million to 7.2 billion rows. At the 500m scale most queries finish in under a second, 3–5× faster than the alternatives. At the 1b scale one query joins, aggregates and sorts 1.7 billion rows in half a second where the other systems take 5–13 seconds. The setup used shared-data compute warehouses with parallel replicas on 2–16 nodes, reported the best of 5 warm runs, and is reproducible from a public repo and S3 dataset.

  • How the 5 major cloud data warehouses compare on cost-performance

    ClickHouse mediumAdept

    A vendor-run benchmark extends ClickBench's 43 analytical queries to 1B, 10B and 100B rows and prices the raw runtimes for Snowflake, Databricks, ClickHouse Cloud, BigQuery and Redshift Serverless using each vendor's actual compute billing rules via the open CostBench pipeline. The ClickHouse Cloud configuration ranks best on runtime × cost at every scale. At 100B rows it finishes in about 275 s for about $17.62, while Databricks 4X-Large and Snowflake 4X-Large score 23× and 32× worse and BigQuery On-Demand about 1,350× worse. Runs follow ClickBench's no-tuning rules, use Enterprise-tier pricing in AWS us-east (GCP for BigQuery), and leave storage costs out of the comparison.

  • ClickHouse vs Snowflake for Real-Time Analytics - Benchmarks and Cost Analysis

    ClickHouse mediumAdept

    ClickHouse Cloud is benchmarked against Snowflake on a real-time analytics workload built from the PyPI downloads dataset: an 8.74 TiB, three-month subset of the 560-billion-row table, queried as a package-trends dashboard. ClickHouse reports about 38% better compression, up to 2x faster loading, 2-3x faster hot queries and 1.5-2x faster cold queries on ordering-key filters, and 3-5x lower projected production cost. Snowflake needs clustering, which is expensive, to be competitive. It is about 30% faster on GROUP BY queries that can't exploit ordering keys, and it gives more consistent tail latency on full scans. The post covers schemas, type optimizations, materialized views vs projections, secondary indices vs Search Optimization Service, and itemized cost assumptions. It is vendor-authored, though the methodology is published for reproduction.

  • The end-to-end cost-performance of real-time analytics: Snowflake vs. ClickHouse Cloud

    ClickHouse mediumAdept

    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. Using a 12-column stock-quotes dataset sorted by (sym, t), it compares ClickHouse Cloud against two Snowflake setups. The ClickHouse Cloud setup uses a small separate ingest service, a MergeTree raw table and an AggregatingMergeTree incremental materialized view. One Snowflake setup uses standard tables with serverless clustering and materialized views on a Gen2 X-Small ingest warehouse. The other uses Snowflake Interactive Tables. Read compute is matched at 16 Graviton3 cores. Dashboard queries run every 10 minutes and drill-down queries every hour against constantly changing data, with identical client work for both systems.

  • Why m3ter chose ClickHouse Cloud

    ClickHouse mediumAdept

    m3ter, a usage-based billing service, picked ClickHouse Cloud for its usage-data plane after proof-of-concept tests against Snowflake, Firebolt, Redshift and Aurora Postgres. Usage events had to stay unaggregated so bills could be recalculated after retrospective config changes. The tests scored each database on ingest rate, deduplication, query concurrency, export, deletion, scalability and cost. ClickHouse delivered 10x ingest, 17x QPS, 11.4x compression, sub-100ms queries (144ms vs Redshift's 3927ms at similar cost) and ~85% cost savings. Its weak spots were deduplication, which relies on background merges or FINAL and so needs pre-insert dedup, and heavier deletes than OLTP stores.

The quest for software engineering knowledge.

Look:
Layout: