# CockroachDB vs Vitess

| Attribute | CockroachDB | Vitess |
|---|---|---|
| **Vioscale score** | 63.3 (66% (medium)) | 62.2 (49% (low)) |
| activity.commits_last_30d | 15 | 62 |
| adoption.dependent_repos | 235 | 235 |
| adoption.github_stars | 32,415 | 21,259 |
| deployment.options | `{"cloud":true,"hybrid":true,"on_prem":true,"self_hosted":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. | Vitess is a MySQL-compatible database that extends scalability through built-in sharding and improves performance via query rewriting, caching, and connection pooling. It provides automatic failure detection and repair for high availability. |
| 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}` | `{"sql_model":"full_sql","deployment":"self_hosted","horizontal_scale":"sharded","automatic_failover":true,"wire_compatibility":"mysql"}` |
| integrations.count | 8 | - |
| 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"}]` | - |
| language.primary | Go | Go |
| license.spdx | - | Apache-2.0 |
| 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"]}` | - |
| pricing.free_tier | yes | - |
| pricing.model | commercial | - |
| pricing.price_level | low | - |
| pricing.transparent | yes | - |
| release.cadence_days | - | 6 |
| release.history | - | `[{"url":"https://github.com/vitessio/vitess/releases/tag/v24.0.2","date":"2026-06-24T16:26:36Z","type":"stable","version":"v24.0.2"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.5","date":"2026-06-24T15:33:49Z","type":"stable","version":"v23.0.5"},{"url":"https://github.com/vitessio/vitess/releases/tag/v24.0.1","date":"2026-05-07T15:33:25Z","type":"stable","version":"v24.0.1"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.4","date":"2026-05-07T14:22:26Z","type":"stable","version":"v23.0.4"},{"url":"https://github.com/vitessio/vitess/releases/tag/v24.0.0","date":"2026-04-30T11:47:59Z","type":"stable","version":"v24.0.0"},{"url":"https://github.com/vitessio/vitess/releases/tag/v24.0.0-rc1","date":"2026-04-14T13:47:37Z","type":"prerelease","version":"v24.0.0-rc1"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.3","date":"2026-02-27T01:43:08Z","type":"stable","version":"v23.0.3"},{"url":"https://github.com/vitessio/vitess/releases/tag/v22.0.4","date":"2026-02-27T02:52:54Z","type":"stable","version":"v22.0.4"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.2","date":"2026-02-10T21:29:11Z","type":"stable","version":"v23.0.2"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.1","date":"2026-02-04T18:24:16Z","type":"stable","version":"v23.0.1"},{"url":"https://github.com/vitessio/vitess/releases/tag/v22.0.3","date":"2026-02-04T16:47:49Z","type":"stable","version":"v22.0.3"},{"url":"https://github.com/vitessio/vitess/releases/tag/v22.0.2","date":"2025-11-05T17:15:32Z","type":"stable","version":"v22.0.2"},{"url":"https://github.com/vitessio/vitess/releases/tag/v21.0.6","date":"2025-11-05T17:11:50Z","type":"stable","version":"v21.0.6"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.0","date":"2025-11-04T14:37:18Z","type":"stable","version":"v23.0.0"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.0-rc2","date":"2025-10-29T14:34:22Z","type":"prerelease","version":"v23.0.0-rc2"},{"url":"https://github.com/vitessio/vitess/releases/tag/v23.0.0-rc1","date":"2025-10-16T13:40:24Z","type":"prerelease","version":"v23.0.0-rc1"},{"url":"https://github.com/vitessio/vitess/releases/tag/v22.0.1","date":"2025-06-18T07:48:48Z","type":"stable","version":"v22.0.1"},{"url":"https://github.com/vitessio/vitess/releases/tag/v21.0.5","date":"2025-06-18T09:22:12Z","type":"stable","version":"v21.0.5"},{"url":"https://github.com/vitessio/vitess/releases/tag/v20.0.8","date":"2025-06-18T09:31:42Z","type":"stable","version":"v20.0.8"},{"url":"https://github.com/vitessio/vitess/releases/tag/v22.0.0","date":"2025-04-29T13:05:11Z","type":"stable","version":"v22.0.0"}]` |
| reliability.sla_pct | 99.999 | - |
| security.disclosure_policy | yes | - |
| security.gdpr | yes | - |
| security.hipaa | yes | - |
| security.iso27001 | yes | - |
| security.pci | yes | - |
| security.scorecard | 5.1 | 8 |
| security.soc2 | 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}` | `{"count":5,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=vitess.io%2Fvitess&per_page=100","last_12m":2,"max_severity":"CRITICAL"}` |

## Capabilities (Relational Databases)

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

*Source: Vioscale. Generated 2026-09-01T16:36:33.312Z. "-" = undocumented, not absent.*
