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.

Distributed OLTPGlobally Distributed SQLGeospatial DatabasesVector Extensions & Plugins

Last verified:

Key facts

MaintainerCockroach Labs
LicenseLicenseRef-CockroachDB-Software-License
License notesSince 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 release2017
Latest stable version26.4.1 (Nov 18, 2026)
Deploymentself-hosted, managed, serverless
Wire compatibilitypostgres
Query languagesSQL
Written inGo
Also known asCockroachDB Cloud, CRDB
Websitecockroachlabs.com
Documentationcockroachlabs.com
Source codegithub.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

All CockroachDB alternatives

Featured in guides

Related news

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

Sources

Last verified:

  1. cockroachlabs.com/docs/releases/v26.4 cockroachlabs.com
  2. cockroachlabs.com/docs/releases cockroachlabs.com
  3. cockroachlabs.com/blog/enterprise-license-announcement cockroachlabs.com
  4. github.com/cockroachdb/cockroach github.com

Found an error? See how to report a correction.