ClickHouse vs Snowflake: how each one stores, skips and bills (and where each wins)
One 2-second query on a Snowflake warehouse at default settings can bill about ten minutes. ClickHouse has its own idle meter, and internet scanners can wake it. A floor-by-floor look at both engines: micro-partitions vs sparse indexes, credits vs compute units, concurrency, the ClickBench fine print, and the honest split between them.
Here is a bill that surprises people: two seconds of work, about ten minutes on the meter. That’s one small query on a Snowflake warehouse left at its default settings. Nothing is broken: the warehouse resumes, answers in two seconds, then waits ten silent minutes before it suspends, and it bills per second the whole time it’s running.
ClickHouse has an idle meter too, with a sneakier way to wake it. This post cuts both systems open floor by floor: where the data sleeps, how each one skips most of it, where the meter runs, and what that means for your latency and your bill. Every number comes from the vendors’ docs and price lists (read on 26 November 2026) or from published benchmarks, labelled as theirs. Nothing was benchmarked for this post; the dollar figures are plain arithmetic.
The two buildings at a glance
| Snowflake | ClickHouse | |
|---|---|---|
| What it is | Managed cloud data warehouse | Open-source column store (Apache 2.0) + ClickHouse Cloud |
| Storage unit | Micro-partitions, 50–500 MB uncompressed, automatic | Parts, sorted by your ORDER BY key, merged in the background |
| How it skips data | Per-column min/max and distinct counts per micro-partition (pruning) | Sparse primary index: one entry per 8,192-row granule, kept in memory |
| Compute | Virtual warehouses, XS to 6XL, each size doubles | Self-managed servers (shared nothing) or Cloud services on SharedMergeTree |
| Billing unit | Credits, per second, 60 s minimum per start | Cloud: compute units (8 GiB RAM + 2 vCPU), metered per minute; self-managed: your servers |
| Idle behaviour | Auto-suspend, default 600 s | Cloud: optional automatic idling; self-managed: always on |
Fun fact: both are warehouses by name. ClickHouse is “a combination of Clickstream and Data wareHouse”, from its start in Yandex.Metrica (ClickHouse FAQ). And Snowflake calls its compute a virtual warehouse: a warehouse full of warehouses.
Snowflake: storage in the basement, compute rooms upstairs
Snowflake keeps storage apart from compute. Every table is cut automatically into micro-partitions holding 50 to 500 MB of uncompressed data; columns are stored separately inside each one, and Snowflake records each column’s range of values and distinct count (micro-partitions docs). A filter can then skip micro-partitions it never opens. The docs’ example: a query for one hour out of a year of hourly data would ideally scan 1/8760th of the micro-partitions. There is no index to design, which is a big part of Snowflake’s appeal.
Compute is a virtual warehouse, a cluster you switch on. Each size up doubles the credits per hour (warehouses overview):
Billing rules, straight from the docs:
- Per second, with a 60-second minimum each time the warehouse starts. Snowflake’s own example: run 61 seconds, shut down, restart for less than a minute, and you’re billed 121 seconds (60 + 1 + 60) (warehouse considerations).
- Auto-suspend defaults to 600 seconds (“the warehouse suspends automatically after 10 minutes of inactivity”), and the suspend check runs about every 30 seconds (CREATE WAREHOUSE). That is the two-second query billed for about ten minutes.
- Suspending has a cost too: the warehouse’s local data cache “is dropped when the warehouse is suspended”, so the next queries start cold.
- The result cache is the shortcut: the exact same query on unchanged data within 24 hours (each reuse extends it, up to 31 days) lets Snowflake bypass execution (persisted results).
What a credit costs depends on edition and region. The Snowflake Service Consumption Table (effective 20 November 2026) lists on-demand prices for AWS US East (N. Virginia) of $2 (Standard), $3 (Enterprise) and $4 (Business Critical) per credit, and on-demand storage at $23 per TB per month (consumption table PDF). So the biggest standard warehouse, 6X-Large at 512 credits an hour, lists at $1,536 an hour on Enterprise.
ClickHouse: parts, granules and a sparse index
ClickHouse’s MergeTree engine writes every insert as a part, sorted by the table’s key, and merges small parts into bigger ones in the background. The primary key “does not reference individual rows but blocks of 8192 rows called granules”, which keeps the index small enough to stay in memory (MergeTree docs).
The docs’ worked example (primary indexes guide) makes the payoff and the catch concrete:
| Table with 8.87 M rows | Rows processed |
|---|---|
| No primary key, filter on UserID | 8.87 million |
PRIMARY KEY (UserID, URL), filter on UserID |
8.19 thousand |
| Same key, filter on URL (second column) | 8.81 million |
The whole index is 1,083 entries. The catch is that you design the key: filter on a column it doesn’t lead with and you’re close to a full scan again. Snowflake hides that decision; ClickHouse hands it to you.
Self-managed ClickHouse is shared nothing: each server keeps data on its own disks and replicas copy it. ClickHouse Cloud moved data to object storage, like Snowflake: its SharedMergeTree engine stores data in S3/GCS/Azure and keeps metadata in ClickHouse Keeper, so replicas “don’t need to communicate with each other” (SharedMergeTree).
ClickHouse Cloud’s list prices in AWS us-east-1 (pricing page, read 26 Nov 2026): $0.2181 (Basic), $0.2985 (Scale), $0.3903 (Enterprise) per compute-unit hour, one unit being 8 GiB of RAM and 2 vCPUs, metered per minute; storage $25.30 per TB per month. A credit and a compute unit are not the same size, and Snowflake doesn’t publish the hardware behind a warehouse size, so these tags don’t compare one to one.
Same dashboard, two bills
Take a dashboard that runs one small query every five minutes, all day:
- Snowflake at defaults: ten minutes of patience beats five minutes of quiet, so the warehouse never sleeps: 24 credits a day on X-Small, $72 at $3 a credit.
- Snowflake with
AUTO_SUSPEND = 60: every wake-up bills at least a minute, roughly one minute in five, and every query starts with a cold cache. Cheaper; possibly slower. - ClickHouse Cloud: automatic idling pauses compute after a quiet spell and you “aren’t billed for compute resources while the service is paused”. But the docs say idling “isn’t recommended for services that power customer-facing features that are used frequently” (automatic idling).
- The sneaky wake-up: a new Cloud service’s IP access list defaults to “Allow from anywhere”, and ClickHouse’s docs warn such services “may be periodically moved from an idle to an active state by internet crawlers and scanners that look for public IPs, which may result in unexpected costs.”
- Self-hosted ClickHouse has no idle meter at all: the server costs the same at 3 a.m.
Concurrency: the lobby
A Snowflake warehouse cluster’s MAX_CONCURRENCY_LEVEL defaults to 8 statements (parameters); beyond that, queries queue, or you add clusters (multi-cluster warehouses, Enterprise edition and up), each billed. ClickHouse pitches itself for the other shape: many small queries behind a user-facing app, answered in under a second.
Snowflake noticed. Its interactive warehouses target “sub-second response times and high throughput”, with a 5-second runtime limit per query (longer ones fall back to a standard warehouse) and a minimum auto-suspend of one hour (interactive analytics); the consumption table bills at least 60 minutes per start.
The benchmark fine print
The chart everyone shares is ClickBench, maintained by ClickHouse. Its README is unusually candid: one flat table of 99,997,497 rows, queries run one after another with no concurrency, mostly single-node results, and “classical data warehouses, which use a normalized star or snowflake data model … may have an unfair disadvantage”. It adds: “We allow but do not encourage creating scoreboards from this benchmark.” Snowflake results (XS to 2XL, Gen1, Gen2 and interactive) are in the repo; we quote no ranking.
ClickHouse’s own 2023 comparison claims ClickHouse Cloud is “3-5x more cost-effective than Snowflake in production” and “over 2x faster” (ClickHouse blog). That is vendor-reported, on one dataset, with sequential queries. We found no independent head-to-head; the third-party pages we found reuse ClickHouse’s numbers.
The honest split
| Pick ClickHouse when… | Pick Snowflake when… |
|---|---|
| Sub-second analytics inside a product | A governed company-wide warehouse |
| Many users querying at once | Big joins over star schemas |
| Fresh data streaming in | Time Travel up to 90 days (Enterprise) (docs), zero-copy clones |
| You want open source you can run anywhere | Separate warehouses per team, almost no ops |
Both handle JSON: Snowflake’s VARIANT, and ClickHouse’s JSON type, “production ready in version 25.3” (docs).
And it doesn’t have to be either-or. Since 26.8, ClickHouse can read and write Snowflake-managed Iceberg tables through Snowflake’s Horizon catalog (beta, docs). The data files come straight from object storage; Snowflake’s docs list the Horizon catalog API at 0.5 credit per million calls (Snowflake docs).
Check your own meter
-- Snowflake: the auto_suspend column is in seconds (600 = default)
SHOW WAREHOUSES;
ALTER WAREHOUSE my_wh SET AUTO_SUSPEND = 60; -- cheaper idle, colder cache
In ClickHouse Cloud, open the service settings: check automatic idling and its timeout, and replace “Allow from anywhere” in the IP access list with your own ranges.
Two seconds of work billed as ten minutes is a default, not a law. Both meters are yours to set.