Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 1
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.
Related posts
- TPC-H for less than a cent: ClickHouse Cloud vs. Snowflake, Databricks, BigQuery, and Redshift
ClickHouse easyNovice
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.
- Join me if you can: ClickHouse vs. Databricks vs. Snowflake - Part 2
ClickHouse mediumAdept
Replacing fact-to-dimension joins with in-memory dictionaries in ClickHouse Cloud sped up a 17-query join benchmark over 1.4 billion rows by 1.9–3.5× in total runtime, up to 6.6× on individual queries, and cut cost by up to 60%. The Locations table becomes a complex_key_hashed dictionary for String-key lookups. The Products table becomes a range_hashed dictionary that resolves time-versioned rows with a hash map plus binary search over date ranges, provided the source has no overlapping ranges per key. Queries change only by swapping JOINs for dictGet calls, and the gains grew as the cluster scaled from 2 to 8 nodes.
- ClickHouse vs Snowflake for Real-Time Analytics - Comparing and Migrating
ClickHouse mediumAdept
ClickHouse Cloud and Snowflake both use shared-storage architectures over object storage with local SSD caches. They differ in compute model: Snowflake uses t-shirt-sized warehouses at a 1:2 CPU-to-memory ratio, while ClickHouse Cloud uses auto-scaling services at 1:4. They also differ in query caching, in concurrency limits (Snowflake defaults to 8 concurrent queries per warehouse, ClickHouse allows up to 1000 per node), and in feature pricing. For real-time analytics, ClickHouse claims lower latency and lower cost, since always-on dashboards negate Snowflake's idle-suspend savings and its clustering and materialized views raise per-credit cost by 1.5x. The post also maps Snowflake clustering keys to ClickHouse ORDER BY and sparse primary indexes, contrasts projections with materialized views, and outlines unloading data from Snowflake and importing it into ClickHouse.
- 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.