CockroachDB

CockroachDB is Cockroach Labs' distributed SQL database, now available only under the proprietary CockroachDB Software License, self-hosted or as a cloud service. Pages here cover open-source replacements such as YugabyteDB and PostgreSQL.

CockroachDB vs YugabyteDB

For teams that chose CockroachDB for distributed, resilient SQL and now want an open-source core: YugabyteDB's Apache-2.0 database with PostgreSQL-compatible YSQL, compared on SQL compatibility, multi-region options, licensing of management tools and operations.

CockroachDB vs PostgreSQL

Many CockroachDB clusters do not need distributed writes. This page compares CockroachDB with PostgreSQL plus Patroni or CloudNativePG for high availability: what you lose in automatic sharding and multi-region writes, and what you gain in simplicity and licensing.

Migrate from CockroachDB to YugabyteDB

Moving schemas and data from CockroachDB to YugabyteDB: exporting data, translating CockroachDB-specific SQL and types to YSQL, rebuilding indexes and multi-region placement, validating results, and cutting applications over.

Migrate from CockroachDB to PostgreSQL

Moving from CockroachDB to a single-primary PostgreSQL cluster: exporting tables, adjusting schemas, sequences and transaction retry logic, setting up replication and failover, and checking that write volumes fit one primary.

CockroachDB license change: what it means for self-hosted clusters

CockroachDB 24.3.0 and later ship only under the proprietary CockroachDB Software License, Free use is capped at $10M revenue with yearly renewal and telemetry, and source code is no longer published. This page sets out the options: pay, qualify for Free, or move to YugabyteDB or PostgreSQL.

CockroachDB Enterprise cost vs self-hosted YugabyteDB

Cost of ownership by component: CockroachDB Enterprise licensing or Cloud vCPU-hours, against YugabyteDB's open-source database on your servers, an optional commercial support contract, migration effort and operations staff.

CockroachDB vs MySQL

Comparing CockroachDB with self-hosted MySQL for databases: capabilities, hosting and data location, licensing and cost structure, operating effort, and what a move from CockroachDB involves.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.