CockroachDB in Comparison

This page shows you how the key features of CockroachDB stack up against other databases. Hover over the features for their intended meanings, and click CockroachDB answers to view related documentation.

CockroachDB
Database horizontal scale tooltip icon Node based, automated read scale, limited write Manual Sharding Node based, automated for both reads and writes
Database load balancing (internal) tooltip icon Even distribution to optimize storage Manual - not part of database Detailed options to optimize storage, compute and latency
Failover tooltip icon Automated for reads, limited guarantees for writes Manual - not part of database Fully automated for both reads and writes
Automated repair and RPO(Recovery Point Objective) tooltip icon Manual & automated repair RPO <1 min Manual repair RPO ~1-60 mins Automated repair RPO = 0 sec
Distributed reads tooltip icon Yes Manual - asynchronous Yes
Distributed transactions tooltip icon Lightweight transactions only No Yes
Database isolation levels tooltip icon Eventual consistent default - Read uncommitted highest - Snapshot read Single region consistent default - Snapshot highest - Serializable Guaranteed consistent default - Serializable highest - Serializable
Potential data issues (default) tooltip icon Dirty reads, phantom reads, non-repeatable reads, write skew Phantom reads, non-repeatable reads, write skew None
SQL tooltip icon No Yes Yes - wire compatible with PostgreSQL
Database schema change tooltip icon Offline Yes Online, Active and Dynamic
Cost based optimization tooltip icon No Yes Yes
Data Geo-partitioning tooltip icon No No Yes, row level
Upgrade method tooltip icon Online, rolling Offline Online, rolling
Multi-region tooltip icon Yes, but not for writes Yes - manual Yes for both reads and writes
Multi-cloud tooltip icon No No Yes

Yes No