How to size a ClickHouse cluster for a data team of 20 (2026 budget)
A field-tested playbook for picking node count, memory, and disk tier when you are just starting out with ClickHouse - and the four warning signs that mean you need to scale.
Every ClickHouse sizing conversation in 2026 starts with the same wrong question: “how big should the cluster be?” The right question is: “what shape of workload will it carry, and what is the smallest cluster that carries it without pain?” The first is answered by guessing. The second is answered by looking at the workload signature and the operational envelope you can afford to run.
This post is a playbook for one specific case: a data team of about 20 people evaluating ClickHouse as their warehouse and trying to pick a cluster size that will not embarrass them in six months. It walks through node count, memory sizing, the disk-tier decision, real 2026 EUR/month numbers for both ClickHouse Cloud and self-host on GCP/AWS, and the four operational warning signs that mean it is time to scale up.
A 20-person team is not a random number. It is the shape at which a warehouse stops being a single-analyst toy and becomes an infrastructure commitment. Cost-per-query stops being cheap enough to ignore, concurrency stops being trivial, and somebody starts asking “who is paying the ClickHouse bill.” Get the sizing right here and the next two years are quiet. Get it wrong and you either overpay for headroom you never use or you spend a quarter migrating to a bigger tier under duress.
What “20-person data team” means as a workload signature
Before any sizing math, name the workload. A 20-person team in 2026 typically produces:
- Interactive BI queries. Roughly 5,000 to 20,000 dashboard queries a day, most under 200 ms P95 against modeled marts. Peak concurrency is usually 5 to 15 queries in flight at once, spiking around 9 a.m. and after standup.
- Ad-hoc SQL from analysts. A few hundred to a few thousand exploratory queries a day, typically heavier per-query (scanning larger slices of raw data) but lower concurrency (analysts context-switch slowly).
- ELT + transformation jobs. Batch dbt-style materializations running every 5 to 60 minutes, plus one or two streaming ingest paths from Kafka or CDC. Sustained write throughput in the low tens of thousands of rows per second, spiking to hundreds of thousands during backfills.
- Data volume. Active hot data in the 500 GB to 5 TB range. Total including cold historical is often 10 to 50 TB, but 90 percent of it is queried monthly at most.
A cluster that comfortably serves all four shapes is what “sized right” means. Anything bigger is overbuilt. Anything smaller is a scaling ticket on the roadmap.
Node count: the decision framework
The node-count question splits into three concerns: high availability, read concurrency, and write throughput. Cheat-sheet form:
| Node count | When it is the honest pick | What you lose |
|---|---|---|
| 1 node | POC, single-team pilot, < 100 GB active data | No HA, no rolling upgrades, one restart = downtime |
| 2 nodes (replicated) | Small production, HA matters, < 1 TB hot, < 10 concurrent users | No horizontal read scaling; both replicas serve the same data |
| 3 nodes (replicated, single shard) | Mainstream 20-person team, 1 to 5 TB hot, up to 30 concurrent users | Still a single shard, so single-table writes bottleneck one primary at a time |
| 4 to 6 nodes (2 shards x 2 or 3 replicas) | Multi-tenant SaaS, > 30 concurrent users, > 5 TB hot | Sharding complexity: distributed queries, Distributed table engine, cross-shard joins get expensive |
For a 20-person team the sweet spot is 3 replicated nodes on a single shard. That configuration survives a node failure without downtime, absorbs a rolling upgrade without paging anyone, and handles the interactive concurrency an internal BI workload throws at it. Do not shard until you actually need to. Sharding is a real operational commitment: the ClickHouse operational tips document names ZooKeeper (or ClickHouse Keeper) tuning, distributed table design, and cross-shard consistency as the three things that most teams underestimate.
If HA is not a hard requirement (a lot of internal analytics teams honestly do not need it), a single beefier node is a legitimate starting point. The move from 1 to 3 nodes later is straightforward if the schema was replication-ready from day one (that is, tables were created as ReplicatedMergeTree on ZooKeeper/Keeper paths from the start).
Memory sizing: the rule of thumb
ClickHouse is memory-hungry in a different way than most engines. It does not need to fit the working set in RAM; it needs enough headroom for aggregations, mark caches, dictionaries, and merge buffers. The rule of thumb that holds across the ClickHouse docs and years of operator experience is:
- Minimum viable per node: 16 GB. Anything less and you will spend all your time tuning
max_bytes_before_external_group_byand watching queries spill to disk. - Comfortable for a 20-person BI workload: 32 to 64 GB per node. This gives you enough mark cache to serve interactive queries from memory, enough merge-buffer headroom for concurrent writes, and enough aggregation memory for the occasional
GROUP BYover a wide fact table. - Above 64 GB per node: required only when the working set genuinely does not fit (a lot of high-cardinality string aggregations, or dictionaries larger than a few gigabytes each).
The specific tuning knob is max_server_memory_usage, which caps the process’s total RAM. Leave 20 to 25 percent headroom for the OS page cache, where ClickHouse’s file reads actually hit warm memory. A 64 GB machine should run ClickHouse with max_server_memory_usage at 48 GB, not 60 GB, or the OOM killer arrives at 2 a.m. during a merge storm.
CPU sizing is less nuanced: aim for 8 to 16 vCPUs per node. ClickHouse parallelises aggregations aggressively, so more cores directly speed up scans. Past 16 cores per node the returns diminish because thread coordination and merge scheduling start to dominate.
Disk tier: hot, warm, and the object-storage escape hatch
Disk is where most sizing exercises get expensive if you copy a template from a different workload. The honest three-tier picture for a 20-person team:
- Hot tier (last 30 to 90 days of data). Local NVMe SSD if self-hosted, or the equivalent premium tier on managed. Query latency is dominated by scan throughput; NVMe delivers 3 to 5 GB/s per node, which is what makes a 500 GB hot scan finish under a second.
- Warm tier (90 days to 2 years). Network block storage (GCP PD SSD, AWS gp3, Azure Premium SSD) or the standard tier on managed. About 5x cheaper than NVMe per TB, with 3 to 5x higher latency. Fine for queries that hit warm data occasionally.
- Cold tier (> 2 years or archival). Object storage (S3, GCS, Azure Blob) via ClickHouse’s tiered storage. Roughly 20x cheaper than NVMe per TB. Query latency in the seconds range but survivable for compliance and one-off historical questions.
ClickHouse’s built-in storage policies move parts between tiers based on TTL rules declared per table. A TTL created_at + INTERVAL 90 DAY TO VOLUME 'warm', created_at + INTERVAL 2 YEAR TO VOLUME 'cold' clause on a fact table gets you three-tier storage without a manual data-lifecycle script.
The secondary decision is around skipping indexes - minmax, set, and bloom_filter indexes that let ClickHouse skip whole granules on filter columns. They are effectively free memory-wise and can cut a warm-tier scan by 10x. Any column filtered in more than 20 percent of queries but not part of the sort key is a candidate.
For a 20-person team with 1 to 5 TB hot and 10 to 50 TB total, a working allocation is 500 GB to 2 TB NVMe per node (hot), 2 to 10 TB block storage per node (warm), and an object-storage bucket for cold.
Cost math: 2026 EUR/month numbers
The three practical paths and what they cost.
Path 1: ClickHouse Cloud, production tier
ClickHouse Cloud on the production tier bills for compute (per replica-hour) and storage (per TB-month), with the cheapest AWS/GCP region typically 10 to 15 percent below the headline rates. For a 3-replica setup on the mainstream tier (roughly 8 vCPU, 32 GB RAM per replica, ~2 TB storage), the honest 2026 monthly total lands in the EUR 1,500 to EUR 2,500/month range. This includes replication, backups, and rolling upgrades - the operational floor of running it yourself.
The current headline rates live at clickhouse.com/pricing and change every few quarters; check before quoting internally.
Path 2: Self-host on GCP
Three n2-standard-8 instances (8 vCPU, 32 GB RAM each) in europe-west4 or us-central1 at on-demand run about EUR 350/month each, or EUR 1,050/month for three. Committed-use 1-year discounts drop this to roughly EUR 700/month. Add 2 TB PD SSD per node (EUR 340/month for 6 TB) and a GCS bucket for cold storage (a few euros a month per TB), and the all-in comes to roughly EUR 1,400 to EUR 1,800/month at on-demand pricing, or EUR 1,100 to EUR 1,400/month with committed-use discounts.
The catch: you now own the ops surface. Realistic estimate is 20 to 40 percent of one senior data engineer’s time in the first quarter, then 5 to 10 percent ongoing.
Path 3: Self-host on AWS
Three m6i.2xlarge instances (8 vCPU, 32 GB RAM each) in eu-central-1 at on-demand run about EUR 1,140/month for three, dropping to roughly EUR 730/month total with 1-year reserved pricing. Add 2 TB gp3 EBS per node (EUR 400/month for 6 TB) and S3 for cold, and the all-in lands at EUR 1,500 to EUR 1,900/month on-demand, or EUR 1,150 to EUR 1,450/month reserved.
For context: what other warehouses would cost
For the same 20-person workload:
- Snowflake on a single X-Small warehouse held warm for the workday runs about USD 2 to 4 per credit at roughly 1 credit/hour. Real BI teams rarely stay on a single X-Small, so once analysts also use Snowflake the honest figure is USD 2,000 to 5,000/month. Rates on the Snowflake pricing page.
- BigQuery on-demand at USD 6.25 per TB scanned adds up fast on interactive dashboards; a 20-person team commonly lands in USD 1,500 to 4,000/month. Reservations start around USD 2,000/month for the smallest slot commitment. Details on the BigQuery pricing page.
ClickHouse economics are typically 30 to 60 percent of the equivalent Snowflake or BigQuery bill at this team size, and the gap widens as the team grows.
Four warning signs you need to scale
A right-sized cluster feels quiet. When it stops feeling quiet, one of these four signals has usually crossed a threshold. Watch for them in system.metrics, system.query_log, and system.merges.
-
Query queue depth is building up. If
system.metricsshows in-flight queries sustained nearmax_concurrent_queries, orQueryThreadis pinned at max, the cluster is CPU-saturated. Alert when the 95th percentile of concurrent queries over 15-minute windows exceeds 70 percent of the configured max. -
Memory pressure or OOM restarts. If
system.eventsshowsQueryMemoryLimitExceededclimbing week over week, or the process is being OOM-killed, the memory tier is too small. Look at P99memory_usageinsystem.query_logagainstmax_server_memory_usage. Above 40 percent of the cap and you are one bad query away from an incident. -
Merges falling behind.
system.mergesandPartsToBeMergedtogether tell you whether the merge pipeline is keeping up with insert volume. A sustained backlog (more than a few hundred parts per table, or merge duration climbing linearly with time) means write pressure or the merge budget is misconfigured. It shows up as query slowdown a day or two later, because scans have to touch more parts. -
Slow-query rate climbing without workload change. The most subtle signal. If the 95th-percentile query duration in
system.query_loghas drifted up over the last month without a corresponding growth in data volume or users, the cluster is starting to compete with itself. Usual causes: hot data no longer fits the OS page cache, merges are competing with reads for I/O, or one dashboard is issuing pathological queries that block everything else.
Set alerts on all four. They will fire long before your users notice.
Where Goni fits
For teams building on ClickHouse, Goni’s semantic layer, BI, and capacity planning sit on top of the cluster with one shared metric definition, and the built-in query attribution tags every query with its source so the four warning signs above have an owner attached.
Why this matters for a data team
The right ClickHouse cluster for a 20-person team is smaller and cheaper than most teams think. Three modestly-provisioned replicated nodes, 32 GB of RAM each, tiered storage with hot data on NVMe, and a 2026 budget in the EUR 1,100 to 2,500/month range covers the workload comfortably. What matters more than the initial pick is the monitoring: knowing the four warning signs and having them alert before they hurt.