# CockroachDB vs YugabyteDB

| Attribute | CockroachDB | YugabyteDB |
|---|---|---|
| **Vioscale score** | 63.3 (66% (medium)) | 58.7 (71% (medium)) |
| activity.commits_last_30d | 15 | - |
| adoption.dependent_repos | 235 | - |
| adoption.github_stars | 32,415 | - |
| deployment.options | `{"cloud":true,"hybrid":true,"on_prem":true,"self_hosted":true}` | `{"cloud":true,"hybrid":true,"self_hosted":true}` |
| description.long | CockroachDB is a PostgreSQL-compatible distributed SQL database designed for global applications requiring high availability, automatic scaling, and strong consistency across data centers. It eliminates downtime, simplifies operations, and scales seamlessly without manual intervention. | A distributed SQL database designed for mission-critical transactional data, available as open source software or managed cloud services with multi-region and high-availability capabilities. |
| features.capabilities | `{"free_tier":true,"isolation":"serializable","sql_model":"full_sql","deployment":"managed","serverless":true,"consistency":"strong","geo_spatial":"none","replication":"consensus","engine_family":"postgresql","extensibility":false,"json_document":false,"license_class":"source_available","pricing_model":"tiered_plus_usage","deployment_type":"independent_multi_cloud","horizontal_scale":"distributed_native","acid_transactions":"full","automatic_failover":true,"wire_compatibility":"postgres","self_host_alternative":true,"multi_region_replication":true}` | `{"isolation":"serializable","sql_model":"full_sql","deployment":"self_hosted","consistency":"strong","replication":"consensus","extensibility":true,"json_document":true,"license_class":"permissive","horizontal_scale":"distributed_native","acid_transactions":"full","automatic_failover":true,"wire_compatibility":"postgres"}` |
| integrations.count | 8 | 1 |
| integrations.list | `[{"name":"Datadog"},{"name":"Splunk"},{"name":"Dynatrace"},{"name":"New Relic"},{"name":"Terraform"},{"name":"Vercel"},{"name":"HashiCorp"},{"name":"pgvector"},{"name":"AWS"},{"name":"GCP"},{"name":"Azure"},{"name":"Kubernetes"},{"name":"MOLT (Migration Tool)"},{"name":"PostgreSQL drivers"},{"name":"SQLAlchemy"}]` | `[{"name":"Arctype SQL Client"}]` |
| language.primary | Go | - |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | - |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"hybrid","plans":[{"free":true,"name":"Basic","summary":"Free tier","components":[{"kind":"fixed","amount":0,"period":"month","currency":"USD"}],"description":"For smaller, bursty workloads","contactSales":false,"includedLimits":{"throughput":"30K RU/sec"}}],"summary":"Free tier available with $400 in free credits. Provisioned capacity and on-demand pricing models for production workloads.","currency":"USD","freeTier":true,"sourceUrl":"https://www.cockroachlabs.com/pricing/legacy/","retrievedAt":"2026-08-24T22:38:41.895Z","freeTrialDays":30,"billingPeriods":["month"]}` | `{"type":"hybrid","plans":[{"free":false,"name":"Standard","summary":"$125/vCPU/month","features":["PostgreSQL API (YSQL)","Cassandra API (YCQL)","Change Data Capture","Single-region fault tolerance","PostgreSQL extensions","Role Based Access Control","Encryption in transit and at rest","VPC Peering and Private Link","Data migration with YugabyteDB Voyager","REST API and CLI automation","Automated backups and security patching","Built-in metrics and alerts"],"components":[{"kind":"per_unit","unit":"vCPU","amount":125,"period":"month","currency":"USD"}],"description":"Good for startups and scale-ups needing seamless scalability, availability, and zone-level resilience.","contactSales":false},{"free":false,"name":"Professional","summary":"$167/vCPU/month","features":["All Standard features","Multi-region stretched clusters","Read Replicas","Row-level geo-partitioning for data residency","Performance Advisor","Export metrics to 3rd party tools","Export audit logs","Send alerts to external tools"],"components":[{"kind":"per_unit","unit":"vCPU","amount":167,"period":"month","currency":"USD"}],"description":"For global businesses that need advanced multi-region capabilities, region-level resilience, scalability, and/or compliance with data residency requirements.","contactSales":false},{"free":false,"name":"Enterprise","summary":"Custom pricing - contact sales","features":["All Professional features","Customer Managed Keys (CMK) encryption at rest","Single Sign On via OpenID Connect (OIDC)"],"description":"Designed for enterprises needing advanced multi-region capabilities, higher performance and availability, or enterprise security features.","contactSales":true}],"addOns":[{"name":"Business Continuity / Disaster Recovery"},{"name":"Enterprise Integrations"}],"summary":"From $125/vCPU/month. Free tier available. Storage and data transfer costs additional.","currency":"USD","freeTier":true,"sourceUrl":"https://www.yugabyte.com","retrievedAt":"2026-08-03T12:42:28.770Z","startingPrice":{"amount":125,"period":"month","currency":"USD"},"billingPeriods":["month"]}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | commercial |
| pricing.price_level | low | high |
| pricing.transparent | yes | yes |
| reliability.sla_pct | 99.999 | - |
| reliability.status_page | - | yes |
| security.disclosure_policy | yes | yes |
| security.gdpr | yes | yes |
| security.hipaa | yes | - |
| security.iso27001 | yes | yes |
| security.pci | yes | - |
| security.scorecard | 5.1 | - |
| security.soc2 | yes | yes |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2Fcockroachdb%2Fcockroach&per_page=100","last_12m":0,"max_severity":null}` | - |

## Capabilities (Relational Databases)

| Capability | CockroachDB | YugabyteDB |
|---|:--:|:--:|
| **Core** |  |  |
| SQL model | Full SQL | Full SQL |
| **Transactions** |  |  |
| ACID transactions | Full | Full |
| Highest isolation level | Serializable | Serializable |
| **Consistency** |  |  |
| Consistency | Strong | Strong |
| **Scale** |  |  |
| Horizontal scale | Natively distributed | Natively distributed |
| **Replication** |  |  |
| Replication | Consensus (Raft/Paxos) | Consensus (Raft/Paxos) |
| **Availability** |  |  |
| Automatic failover / HA | ✓ | ✓ |
| **Deployment** |  |  |
| Deployment | Managed | Self-hosted |
| Serverless / scale-to-zero | ✓ | - |
| **Compatibility** |  |  |
| Wire compatibility | Postgres protocol | Postgres protocol |
| **Extensibility** |  |  |
| Extensions / plugins / UDFs | ✗ | ✓ |
| **Licensing** |  |  |
| Licence class | Source-available (BSL/SSPL) | Permissive OSS |
| **Data types** |  |  |
| JSON / document support | ✗ | ✓ |
| Geo / spatial | None | - |

*Source: Vioscale. Generated 2026-09-01T17:03:11.658Z. "-" = undocumented, not absent.*
