[CockroachDB vs PostgreSQL - A quick database comparison | TablePlus](https://tableplus.com/blog/2018/10/cockroachdb-vs-postgresql-comparison.html#:~:text=CockroachDB uses the PostgreSQL wire,based on PostgreSQL as well.)
Feature | Meaning | CockroachDB | PostgreSQL |
---|---|---|---|
Automated Scaling | Automatic and continuous rebalancing of data between the nodes of a cluster. | Yes | No |
Automated Failover | Uninterrupted availability of data through small- and large-scale failures, from server restarts to data center outages. | Yes | Optional |
Automated Repair | Automatic repair of missing data after failures, using unaffected replicas as sources. | Yes | No |
Strongly Consistent Replication | Once a transaction is committed, all reads are guaranteed to see it. | Yes | No |
Consensus-Based Replication | Guarantee that progress can be made as long as any majority of nodes is available. | Yes | No |
Distributed Transactions | Correctly committed transactions across a distributed cluster, whether it’s a few nodes in a single location or many nodes in multiple data centers. | Yes | No |
Eventually Consistent Reads | Optionally allows reading from replicas that do not have the most recently written data. | No | Yes |