About CockroachDB
CockroachDB is a distributed SQL database designed to keep applications running when individual machines or data centers fail. Its managed offering, CockroachDB Cloud, handles provisioning, scaling and upgrades so teams can concentrate on building applications rather than operating database infrastructure.
The cloud service advertises push-button provisioning, automatic scaling, rolling upgrades without downtime, on-demand compute and storage, and managed backups for disaster recovery. A Terraform provider and Cloud APIs automate database operations, and it connects to third-party observability and logging tools. Deployments can start small and expand across data centers and regions, and the vendor says the platform supports PCI-DSS and HIPAA applications.
CockroachDB is a commercial product with free credits for new users and flexible pricing described on the vendor's site. Besides the cloud service, the database can also be run on infrastructure you manage yourself.
Key features
- Distributed SQL with horizontal scaling
- Fully managed cloud service
- Rolling upgrades without downtime
- Managed backups for disaster recovery
- Terraform provider and Cloud APIs
- Multi-region deployments
Good fit for
- Running a resilient transactional database
- Scaling a database across regions
- Offloading database operations to a managed service
CockroachDB: questions and answers
- What is CockroachDB used for?
- CockroachDB is a distributed SQL database that scales horizontally across nodes and regions, available as a fully managed cloud service. It is a good fit for running a resilient transactional database, scaling a database across regions and offloading database operations to a managed service.
- How much does CockroachDB cost?
- CockroachDB is a paid product with no free plan. A free trial is available. Usage-based per vCPU-hour: Standard at $0.092 and Mission Critical at $0.162 (AWS us-east-1), plus storage and add-ons. New organizations get a 30-day trial with $400 credit.
- Is CockroachDB open source?
- No. CockroachDB is proprietary (closed-source) software. Open-source alternatives to CockroachDB include Apache Cassandra, YDB and ClickHouse.
- Can I self-host CockroachDB?
- Yes. Although CockroachDB is closed source, it can be self-hosted on your own servers, and the vendor also offers a hosted version.
- What are some alternatives to CockroachDB?
- CockroachDB competes with Google Cloud Spanner, Amazon Aurora and PlanetScale. For open-source options, see Enlisted's ranked list of open-source CockroachDB alternatives.
Open-source alternatives to CockroachDB
See all
Apache Cassandra
Databases
Open source transactional distributed database. Linear scalability and proven fault-tolera
Apache-2.0vs Amazon DynamoDB★ 10k
YDB
Databases
YDB is an open source Distributed SQL Database that combines high availability and scalabi
Apache-2.0vs Google Cloud Spanner★ 4.8k
ClickHouse
Databases
ClickHouse is a fast open-source column-oriented database management system that allows ge
Apache-2.0vs Snowflake★ 51k
PostgreSQL
Databases
Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we d
OSSvs Oracle Database★ 23k
TiDB
Databases
TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and nati
Apache-2.0vs Amazon Aurora★ 41k
MariaDB
Databases
MariaDB server is a community developed fork of MySQL server. Started by core members of t
GPL-2.0vs Oracle Database★ 8.6k
SaaS alternatives to CockroachDB
See all
Google Cloud Spanner
Databases
Google horizontally scalable relational database with strong consistency
SaaS
Amazon Aurora
Databases
AWS cloud-built relational database compatible with MySQL and PostgreSQL
SaaS
PlanetScale
Databases
Managed MySQL and Postgres with branching workflows and online schema changes
SaaS
SingleStore
Databases
Distributed SQL database for real-time analytics and transactional workloads
SaaS
Azure SQL Database
Databases
Managed SQL Server-compatible relational database service on Azure
SaaS
Oracle Autonomous Database
Databases
Self-managing cloud database from Oracle with automated tuning, patching and scaling
SaaS

