CockroachDB
Raft-replicated SQL database that shards data into ranges and replicates them with Raft consensus to provide serializable transactions across nodes and regions. It speaks the PostgreSQL wire protocol and much of its SQL dialect, and supports table- and row-level data placement for multi-region deployments. It targets resilient transactional systems such as payments, identity and inventory that must survive node or region failures.
Source code was published on GitHub from 2014 and version 1.0 was declared production-ready in 2017.
Last verified:
Key facts
| Maintainer | Cockroach Labs |
|---|---|
| License | LicenseRef-CockroachDB-Software-License |
| License notes | Since v24.3 (November 2024) all self-hosted builds use the proprietary CockroachDB Software License with a single Enterprise edition; an Enterprise Free tier is offered to companies under USD 10M annual revenue, students and individuals. The Core edition was retired; earlier versions used BSL 1.1 plus the CockroachDB Community License (from 2019) and Apache 2.0 before that. Source code remains publicly viewable. |
| Open source (OSI) | No |
| First release | 2017 |
| Latest stable version | 26.4.1 (Nov 18, 2026) |
| Deployment | self-hosted, managed, serverless |
| Wire compatibility | postgres |
| Query languages | SQL |
| Written in | Go |
| Also known as | CockroachDB Cloud, CRDB |
| Website | cockroachlabs.com |
| Documentation | cockroachlabs.com |
| Source code | github.com/cockroachdb/cockroach |
Radar
trial Ready for real projects where the fit is clear; less track record or a narrower sweet spot than adopt.
Technically strong for multi-region transactional workloads, but the move away from an open-source license means teams should review licensing costs and terms before committing.
Ring reviewed Dec 3, 2026.
Alternatives
- Amazon Aurora
- Amazon Aurora DSQL · compare
- Google Cloud Spanner · compare
- Neon
- OceanBase · compare
- PostgreSQL · compare
- TiDB · compare
- TigerBeetle
- Vitess
- YugabyteDB · compare
Featured in guides
Related news
- CockroachDB 26.4 brings yearly skip-level upgrades Oct 26, 2026
Benchmarks
Independent, academic and vendor-published results are listed separately; each links to a page with results, caveats and sources. See the benchmark policy.
Vendor-published
ClickBench analytical DBMS leaderboard, December 2026 snapshot (link only)
ClickBench is the most widely cited open leaderboard for single-node analytical query speed, with roughly 235 system variants including embedded engines, MPP warehouses, managed cloud services, Postgres extensions and dataframe libraries. Column-oriented engines with vectorised execution dominate the hot-run rankings, while row stores and search engines trail on this scan-heavy workload. Read it as a test of one flat-table workload, not of joins, concurrency or ingestion.
Link only: results not reproduced · data license CC-BY-NC-SA-4.0 · verified
Sources
Last verified:
- cockroachlabs.com/docs/releases/v26.4 cockroachlabs.com
- cockroachlabs.com/docs/releases cockroachlabs.com
- cockroachlabs.com/blog/enterprise-license-announcement cockroachlabs.com
- github.com/cockroachdb/cockroach github.com
Found an error? See how to report a correction.