Softwr

Databases · head to head

CockroachDB vs Google Compute Engine

CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes
Google Compute Engine logo

Google Compute Engine

Databases

Google Cloud virtual machines billed per vCPU and per GB of memory

From
On request
Free plan
No

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • CockroachDB starts at $0.057/mo; Google Compute Engine prices on request.
  • Only CockroachDB lists distributed SQL; only Google Compute Engine lists machine families.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).
  • Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.

How do CockroachDB and Google Compute Engine differ?

CockroachDB and Google Compute Engine differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which CockroachDB and Google Compute Engine actually diverge.

Attributes where CockroachDB and Google Compute Engine differ
AttributeCockroachDBGoogle Compute Engine
Starting priceFreeOn request
Pricing modelFreemiumPer vCPU and per GB of memory per hour
Free tierYesNo
PlatformsAWS, GCP, AzureWeb, API

Not yet recorded: category for Google Compute Engine, founded for Google Compute Engine.

Which features does each one have?

They share no listed features; 20 appear only for CockroachDB and 5 only for Google Compute Engine. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in CockroachDB

  • Distributed SQL
  • Automatic Sharding
  • Multi-region Replication
  • Geo-partitioning
  • ACID Transactions
  • Horizontal Scaling
  • Survivability
  • PostgreSQL Compatibility

Only in Google Compute Engine

  • Machine families
  • Custom machine types
  • Sustained use discounts
  • Committed use discounts
  • Free e2-micro

What is each one used for?

CockroachDB is most often brought in for distributed SQL database for scalable applications; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.

CockroachDB

  • Distributed SQL database for scalable applicationsnot Google Compute Engine
  • Multi-region deployment and failovernot Google Compute Engine

Google Compute Engine

  • Lift-and-shift of virtual machine workloads to Google Cloudnot CockroachDB
  • GPU and high performance computing jobsnot CockroachDB
  • Self-managed databases or legacy servers needing OS controlnot CockroachDB
  • Cost-optimised batch work on spot capacitynot CockroachDB

Where do CockroachDB and Google Compute Engine fall short?

CockroachDB's most cited limit: basic and Standard tiers limited to AWS and GCP (select regions only). Google Compute Engine's: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

CockroachDB

  • Basic and Standard tiers limited to AWS and GCP (select regions only)
  • Azure support restricted to Advanced tier only
  • Basic tier limited to 50 million RUs and 10 GiB storage per month
  • Advanced tier starts at $0.60/hour for 4 vCPUs minimum
  • 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced

Google Compute Engine

  • You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
  • Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
  • Machine type choice is wide, and picking the wrong family wastes money until you resize
  • Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
  • Network egress charges can exceed compute cost for data-heavy applications

How much do CockroachDB and Google Compute Engine cost?

CockroachDB has a free plan, with paid plans from $0.057/mo. Plan by plan below, from each vendor's own pricing page.

CockroachDB

Free
  • Standard$0.057/vcpu-hour
  • Mission Critical$0.162/vcpu-hour

Google Compute Engine

On request
  • On demandOn request
    • vCPU and memory billed separately
    • Sustained use discounts up to 30%
    • Committed use discounts available

Which should you pick?

Choose CockroachDB if

  • You need distributed sql.
  • You want to start without paying.
  • You work on AWS, GCP, Azure.
  • You also want automatic sharding.

Choose Google Compute Engine if

  • You need machine families.
  • You work on Web, API.
  • You also want custom machine types.

Questions people ask

Is CockroachDB or Google Compute Engine better?
It depends on the job. CockroachDB fits distributed SQL database for scalable applications; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. CockroachDB starts at Free and Google Compute Engine at On request.
Which is cheaper, CockroachDB or Google Compute Engine?
CockroachDB has a free tier; the other does not. Paid plans start at Free for CockroachDB and On request for Google Compute Engine.
Does CockroachDB or Google Compute Engine run on more platforms?
CockroachDB runs on AWS, GCP, Azure. Google Compute Engine runs on Web, API.
Can I use CockroachDB for free?
Yes. CockroachDB has a free tier, so you can try it without paying. Google Compute Engine starts at On request.
What is CockroachDB best used for?
CockroachDB is most often used for distributed sql database for scalable applications, multi-region deployment and failover. Of those, distributed sql database for scalable applications and multi-region deployment and failover are not what Google Compute Engine is typically brought in for.
What can CockroachDB do that Google Compute Engine cannot?
CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.

Answered from the vendors’ own pages

CockroachDB: What does the free Basic tier include?

The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.

Source
Google Compute Engine: How is Compute Engine billed?

Per vCPU and per GB of memory per hour, plus disks and network.

CockroachDB: How much do the paid tiers cost?

Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.

Source
Google Compute Engine: Is there a free VM?

Yes, Google Cloud offers a free e2-micro instance under its free programme.

CockroachDB: What are the storage limits for each tier?

Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.

Source
Google Compute Engine: What discounts exist?

Sustained use discounts of up to 30% and committed use discounts.

CockroachDB: Can I get trial credits before paying?

Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.

Source
CockroachDB: Do legacy contracts have different pricing?

Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.

Source
Share

Related pages

Other head to heads