Comparison

CockroachDB vs YugabyteDB

On the evidence we track, CockroachDB leads this comparison with a composite score of 65/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
★CockroachDB65
YugabyteDB53
Score
vioscaleAI score
CockroachDB65 / 100medium · 65%
YugabyteDB53 / 100low · 18%
Pricing
Free tier
CockroachDB✓
YugabyteDB✓
Model
CockroachDBfreemium
YugabyteDBopen_source
Price level
CockroachDBlow
YugabyteDBfree
Starting price
CockroachDB$0.06
YugabyteDB–
Transparent
CockroachDB✓
YugabyteDB✓
Integrations
Count
CockroachDB6
YugabyteDB4
Security
Disclosure policy
CockroachDB✓
YugabyteDB✓
Gdpr
CockroachDB✓
YugabyteDB✓
Hipaa
CockroachDB✓
YugabyteDB–
Iso27001
CockroachDB✓
YugabyteDB✓
Pci
CockroachDB✓
YugabyteDB–
Scorecard
CockroachDB5.1
YugabyteDB–
Soc2
CockroachDB✓
YugabyteDB✓
Trust center
Reliability
Sla pct
CockroachDB99.99
YugabyteDB–
Status page
CockroachDB–
YugabyteDB✓
Adoption
Dependent repos
CockroachDB235
YugabyteDB–
Github stars
CockroachDB32,549
YugabyteDB–
Activity
Commits last 30d
CockroachDB11
YugabyteDB–
Language
Primary
CockroachDBGo
YugabyteDB–
Market
Availability
YugabyteDB–
Content
Faq
CockroachDB6 items
YugabyteDB4 items

Capabilities

Feature-by-feature on the axes that matter for relational databases. “-” means undocumented, not absent.

Core
SQL model
CockroachDBFull SQL
YugabyteDBFull SQL
Transactions
ACID transactions
CockroachDBFull
YugabyteDBFull
Highest isolation level
CockroachDBSerializable
YugabyteDBSerializable
Consistency
Consistency
CockroachDBStrong
YugabyteDBStrong
Scale
Horizontal scale
CockroachDBNatively distributed
YugabyteDBNatively distributed
Replication
Replication
CockroachDBConsensus (Raft/Paxos)
YugabyteDBConsensus (Raft/Paxos)
Availability
Automatic failover / HA
CockroachDB✓
YugabyteDB✓
Deployment
Deployment
CockroachDBManaged
YugabyteDBSelf-hosted
Serverless / scale-to-zero
CockroachDB✓
YugabyteDB-
Compatibility
Wire compatibility
CockroachDBPostgres protocol
YugabyteDBPostgres protocol
Extensibility
Extensions / plugins / UDFs
CockroachDB✗
YugabyteDB✓
Licensing
Licence class
CockroachDBSource-available (BSL/SSPL)
YugabyteDBPermissive OSS
Data types
JSON / document support
CockroachDB✗
YugabyteDB✓
Geo / spatial
CockroachDBNone
YugabyteDB-

What each one is

The product in its own terms, so the numbers below have context.

CockroachDB

Leader

A cloud-native SQL database that scales automatically across machines without manual sharding, supporting ACID transactions and multi-region deployments. It survives node, zone, and regional failures with minimal disruption and is compatible with PostgreSQL applications.

Independently observed

YugabyteDB

An open-source distributed SQL database designed for cloud-native deployments that provides PostgreSQL compatibility with high performance and horizontal scalability.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

CockroachDB

Leader
from $0.06/vCPU-hourUsage-basedFree tier30-day trial

From $0.057/vCPU-hr. Free 30-day trial with $400 credit.

  • StandardFrom $0.057/vCPU-hr, 99.99% SLA
    • 99.99% availability SLA
    • Single- or multi-region on AWS and GCP
    • Row-level security
    • Column-level encryption
    • Private connectivity
    • +2 more
  • Mission Critical$0.162/vCPU-hr, 99.999% SLA
    • 99.999% availability SLA with multi-region
    • Egress controls
    • CMEK
    • PCI DSS & HIPAA compliance
    • All add-ons available
    • +1 more
as of verify ↗

YugabyteDB

from $125/moHybridFree tier

From $125/vCPU/month. Free tier available. Storage and data transfer costs additional.

  • Standard$125/vCPU/month
    • PostgreSQL API (YSQL)
    • Cassandra API (YCQL)
    • Change Data Capture
    • Single-region fault tolerance
    • PostgreSQL extensions
    • +7 more
  • Professional$167/vCPU/month
    • All Standard features
    • Multi-region stretched clusters
    • Read Replicas
    • Row-level geo-partitioning for data residency
    • Performance Advisor
    • +3 more
  • EnterpriseContact sales
    • All Professional features
    • Customer Managed Keys (CMK) encryption at rest
    • Single Sign On via OpenID Connect (OIDC)
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
CockroachDB✓
YugabyteDB–
CLI
CockroachDB✓
YugabyteDB–
Deployment
Cloud / SaaS
CockroachDB✓
YugabyteDB✓
Self-hosted
CockroachDB✓
YugabyteDB✓
On-premise
CockroachDB✓
YugabyteDB✗
Hybrid
CockroachDB✓
YugabyteDB✗

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

In common (1)
  • Terraform

CockroachDB

Leader
16 total - 15 not shared
  • Datadog
  • Splunk
  • Dynatrace
  • New Relic
  • Vercel
  • HashiCorp
  • pgvector
  • AWS
  • GCP
  • Azure
  • Kubernetes
  • MOLT (Migration Tool)
  • PostgreSQL drivers
  • SQLAlchemy
  • Google Cloud
Independently observed

YugabyteDB

5 total - 4 not shared
  • Arctype SQL Client
  • Debezium
  • Helm
  • PostgreSQL
Independently observed
Still deciding?

CockroachDB or YugabyteDB: which one depends on you

A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.

Free to run, no account needed to start. How the evaluation works

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.