# CockroachDB vs PlanetScale

| Attribute | CockroachDB | PlanetScale |
|---|---|---|
| **Vioscale score** | 63.3 (66% (medium)) | 67.3 (70% (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}` |
| 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 cloud database platform offering both Vitess (MySQL-compatible with horizontal sharding) and Postgres databases for high-performance, large-scale workloads. |
| 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":"managed","extensibility":true,"license_class":"proprietary","horizontal_scale":"sharded"}` |
| 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":"Vantage"}]` |
| language.primary | Go | - |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"hqCountry":"US","primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | `{"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":"Postgres Single Node","summary":"Starting at $5/month","components":[{"kind":"fixed","amount":5,"period":"month","currency":"USD"}],"description":"Development and low-traffic production workloads","contactSales":false},{"free":false,"name":"Postgres Metal","summary":"Starting at $50/month","components":[{"kind":"fixed","amount":50,"period":"month","currency":"USD"}],"description":"High-performance local NVMe storage with unlimited IOPS","contactSales":false},{"free":false,"name":"Postgres HA (PS-5 example)","summary":"$15/month for PS-5 tier (1/16 vCPU, 512MB RAM, 10GB storage, 3 nodes, 99.99% SLA)","components":[{"kind":"fixed","amount":15,"period":"month","currency":"USD"}],"description":"High availability with 1 primary + 2 replicas across 3 availability zones","contactSales":false,"includedLimits":{"egress":"100 GB/month"}},{"free":false,"name":"Vitess","summary":"Custom pricing based on cluster size, VTGate configuration, and storage","description":"MySQL-compatible with horizontal sharding for massive scale","contactSales":false},{"free":false,"name":"Enterprise","summary":"Custom pricing","description":"All features with upgraded support, migration assistance, and bring-your-own-cloud deployment","contactSales":true}],"addOns":[{"name":"Egress bandwidth","components":[{"per":{"qty":1,"unit":"GB"},"kind":"metered","amount":0.06,"currency":"USD"}]},{"name":"Storage (network-attached, beyond 10GB free)"},{"name":"Additional development branch hours"},{"name":"SSO"}],"summary":"From $5/month for Postgres Single Node. Resource-based pricing with pay-as-you-go for storage overage and egress.","currency":"USD","freeTier":false,"sourceUrl":"https://planetscale.com","retrievedAt":"2026-08-03T12:42:46.087Z","startingPrice":{"amount":5,"period":"month","currency":"USD"},"billingPeriods":["month"]}` |
| pricing.free_tier | yes | no |
| pricing.model | commercial | commercial |
| pricing.price_level | low | low |
| pricing.transparent | yes | yes |
| reliability.sla_pct | 99.999 | 99.99 |
| reliability.status_page | - | yes |
| security.disclosure_policy | yes | yes |
| security.gdpr | yes | yes |
| security.hipaa | yes | yes |
| security.iso27001 | yes | - |
| security.pci | yes | 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 | PlanetScale |
|---|:--:|:--:|
| **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 | Managed |
| Serverless / scale-to-zero | ✓ | - |
| **Compatibility** |  |  |
| Wire compatibility | Postgres protocol | - |
| **Extensibility** |  |  |
| Extensions / plugins / UDFs | ✗ | ✓ |
| **Licensing** |  |  |
| Licence class | Source-available (BSL/SSPL) | Proprietary |
| **Data types** |  |  |
| JSON / document support | ✗ | - |
| Geo / spatial | None | - |

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