Cockroach Labs Estate economics What idle nodes, provisioned bytes and peak-sized bills cost, worked out from your estate.

Estate summary

  1. Nodes 52 baseline
  2. Avg CPU utilization 15.0% idle hardware
  3. Storage provisioned 600 GB 100 GB of data
  4. Est. monthly saving 0%

Step 1 of 8 - Virtualization

You're running an estate, not a cluster

Every cluster below was sized for its own peak, so every one of them idles.

10 standalone clusters, 52 nodes in totalcluster-0112% CPU7 nodescluster-026% CPU5 nodescluster-0325% CPU5 nodescluster-0419% CPU5 nodescluster-0510% CPU5 nodescluster-0616% CPU7 nodescluster-0712% CPU3 nodescluster-0820% CPU5 nodescluster-0917% CPU5 nodescluster-1014% CPU5 nodesEstate before consolidation10 separate clusters of around 5 nodes each, 52 nodes in total, averaging 15.0% CPU utilization.
15%Average CPUAverage CPU CPU utilization15.0% of provisioned CPU is in use.

52 nodes running 62 vCPU of actual work.

The arithmetic, in full
StepWorkingResult
Provisioned today10 clusters totalling 52 nodes (drawn around 5, 3 to 7) x 8 vCPU416 vCPU
Mean demand416 vCPU x 15.0% estate average utilization (per-cluster 6.2% to 24.8%, sd 5.1%)62 vCPU
Aggregate peak62.4 vCPU x (1 + (2.23 - 1) / sqrt(10)), a pooled peak-to-mean of 1.38887 vCPU
Consolidated, sized once for the peakmax(3, ceil(86.6 vCPU / (8 vCPU x 37.5% target))) = max(3, ceil(28.88)); the mean sits well under that peak29 nodes, averaging 26.9%
Auto-scaled through the daythe pool follows the pooled curve in whole nodes, 30 minutes behind it, holding its size for 2 hours before shrinking22 nodes on average, at 35.5% CPU
Utilization across the day25.8% to 40.7% against a 37.5% setpoint: the pool runs hot while it's a bucket behind a rise, and cool while the cooldown is still holding capacity after a peak25.8%-40.7%

Assumptions

  • 8 vCPU per node. Standalone clusters are drawn around 5 nodes, snapped to an odd number for quorum and held between 3 and 15; in this estate they run 3 to 7, a 1.1-node standard deviation, for 52 nodes in total.
  • Each standalone cluster's CPU is a draw from a normal distribution centred on 15.0% and held between 0% and 100%; in this estate they run 6.2% to 24.8%, a 5.1-point standard deviation. The published band is 10-15% today against a 30-45% auto-scaled target, and this Private Host Cluster is set to 37.5%.
  • The Private Host Cluster floors at 3 nodes and must reach 29 at peak.
  • The auto-scaler sizes for what it saw 30 minutes ago and waits 2 hours before shrinking, so the pool averages 35.5% rather than sitting on its 37.5% setpoint.
  • Workloads are independent; consolidation moves where work runs, not how much there is.
What a virtual cluster gives an app team

Its own connection string, databases, schemas, users, roles and backups, and no visibility into the Private Host Cluster or any other virtual cluster.