# CockroachDB

> The cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement

Source: https://talira.ai/catalog/cockroachdb-vx5c3n3q
Every listing: https://talira.ai/catalog.md

- Kind: Source available
- Types: Database
- Categories: [databases / relational](https://talira.ai/categories/databases/relational), [databases / distributed sql](https://talira.ai/categories/databases/distributed-sql)
- Platforms: linux, docker, kubernetes, web[^7][^10]
- Licence: CockroachDB Software License (source-available)[^6]
- Pricing: Free trial[^2][^3][^5]
- Pricing notes: Cockroach Continuum (for deployments started on or after 15 September 2026): Standard $0.092 per vCPU-hour (about $203/month for 2 vCPU and 100 GB), Mission Critical $0.162 per vCPU-hour (about $1,528/month for 12 vCPU). New Cloud organizations get a 30-day trial with $400 credit. Self-hosted: Enterprise Free costs nothing for businesses under $10M annual revenue; the paid Enterprise licence has no published price.
- Free tier: no[^2][^3][^5]
- Self-hostable: yes[^3][^7]
- Cloud hosted: yes[^2]
- SOC 2: yes[^8]
- HIPAA: yes[^2][^8]
- API: yes[^9]
- Made by: [Cockroach Labs](https://talira.ai/orgs/cockroach-labs.md)
- Funding: Series F, 2021[^11]

CockroachDB is a distributed SQL database from Cockroach Labs that spreads data across nodes, availability zones and regions, keeps serving through node and zone failures, and lets you control where data lives. Since version 24.3 it ships under the CockroachDB Software License: self-hosted production clusters need an Enterprise licence key, which is free (Enterprise Free) for businesses with less than $10M in annual revenue, while single-node development clusters need no key. Cockroach Labs also runs it as a managed service, Cockroach Continuum, on AWS, GCP and Azure, with Standard and Mission Critical editions billed per vCPU-hour.

## Links

- Website: https://www.cockroachlabs.com/
- GitHub: https://github.com/cockroachdb/cockroach
- Docs: https://docs.cockroachlabs.com/
- Pricing: https://www.cockroachlabs.com/pricing/

## Ways to install

### Package managers

- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/cockroach>[^1]

## Problems it solves

- my Postgres primary is a single point of failure and failover still means downtime
- keep the database up when a whole cloud availability zone or region goes down
- keep European users' data stored in Europe while the app stays one database
- scale writes beyond what one database server can handle without sharding in the app
- a SQL database that spreads itself across several data centres on its own
- serve users on three continents with low latency from the same database
- run a distributed database on our own servers in an air-gapped environment
- I want strongly consistent transactions, not eventual consistency, across regions
- a managed database with a 99.999% availability SLA
- a free licence for a high-availability database while my company is still small

## Features

- distributed SQL across nodes, zones and regions
- control over data placement
- survives node and zone failures
- row-level security and column-level encryption (Continuum)
- change data capture
- physical cluster replication
- single-node and demo clusters for development
- air-gapped self-hosted deployments
- CockroachDB Cloud API
- VECTOR type and vector indexes for approximate nearest neighbour search, compatible with pgvector (turned on with the feature.vector_index.enabled cluster setting)
- CockroachDB operator for Kubernetes, with automatic replication across nodes

## Ways to run it

### Cockroach Continuum Standard

Hosted by Cockroach Labs. Price: $0.092 per vCPU-hour (about $203/month for 2 vCPU and 100 GB); 30-day trial with $400 credit, no credit card.[^2]

Only in this edition:

- shared infrastructure with a 99.99% availability SLA
- runs on AWS and GCP
- usage-based storage
- row-level security, column-level encryption and private connectivity
- change data capture add-on
- 1-hour P1 support response

Not included:

- dedicated infrastructure and the 99.999% multi-region SLA[^2]

Pricing: https://www.cockroachlabs.com/pricing/

### Cockroach Continuum Mission Critical

Hosted by Cockroach Labs. Price: $0.162 per vCPU-hour (about $1,528/month for 12 vCPU and 100 GB); credit card required.[^2]

Only in this edition:

- dedicated infrastructure
- 99.999% availability SLA with multi-region

Pricing: https://www.cockroachlabs.com/pricing/

### CockroachDB Enterprise (self-hosted)

You run it, CockroachDB Software License (source-available). Price: Enterprise Free: free for businesses with less than $10M annual revenue (renewed yearly, community support); Enterprise: paid, no published price; single-node development clusters need no key.[^3]

Only in this edition:

- every CockroachDB feature
- on-premises, private cloud, hybrid and air-gapped deployments
- P1 support and professional services on the paid licence

Not included:

- managed operations[^3][^4]
- support beyond the community on Enterprise Free[^3]

You arrange:

- servers or a Kubernetes cluster
- a licence key, renewed every year
- telemetry to Cockroach Labs on Enterprise Free and Trial (turned off only with a paid licence)
- backups, monitoring and upgrades

Self-hosting docs: https://docs.cockroachlabs.com/docs/stable/licensing-faqs

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 0.67, adoption 0.90, momentum 0.70, community 1.00, backing 0.65, extensibility 0.40.

- last commit 12 days ago
- 11 commits in the last 90 days
- 32.6k GitHub stars
- 1123 contributors
- made by Cockroach Labs
- funding: Series F, 2021
- security: SOC 2, ISO 27001, HIPAA

## Alternatives

- [PlanetScale](https://talira.ai/catalog/planetscale-e7z32n33.md): The world's fastest and most scalable cloud databases
- [Google Cloud Spanner](https://talira.ai/catalog/google-cloud-spanner-p647svjz.md): Always-on database with virtually unlimited scale
- [Amazon RDS](https://talira.ai/catalog/amazon-rds-my1p654h.md): Easy to manage relational databases optimized for total cost of ownership
- [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md): A powerful, open source object-relational database system
- [TiDB](https://talira.ai/catalog/tidb-v4t6zpzz.md): Open source, MySQL-compatible distributed SQL database for transactions, analytics and vector search
- [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md): The world's most popular open source database

## Sources

[^1]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^2]: https://www.cockroachlabs.com/pricing/ (checked 17 Nov 2026)
[^3]: https://docs.cockroachlabs.com/docs/stable/licensing-faqs (checked 17 Nov 2026)
[^4]: https://docs.cockroachlabs.com/docs/stable/upgrade-cockroach-version (checked 17 Nov 2026)
[^5]: https://www.cockroachlabs.com/product/enterprise/ (checked 17 Nov 2026)
[^6]: https://github.com/cockroachdb/cockroach/blob/master/LICENSE (checked 17 Nov 2026)
[^7]: https://docs.cockroachlabs.com/docs/stable/install-cockroachdb-linux (checked 17 Nov 2026)
[^8]: https://docs.cockroachlabs.com/docs/cockroachcloud/compliance (checked 17 Nov 2026)
[^9]: https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api (checked 17 Nov 2026)
[^10]: https://docs.cockroachlabs.com/docs/stable/ui-overview (checked 17 Nov 2026)
[^11]: https://www.cockroachlabs.com/news/press-release-series-f-funding/ (checked 20 Nov 2026)
