AltHub

cockroachdb/cockroach Alternatives

distributed SQL database

CockroachDB is a cloud-native distributed SQL database that provides horizontally scalable, strongly consistent ACID transactions and high availability.

32.4kGoNOASSERTIONactive · last push 2mo agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

yugabyte/yugabyte-dbGitHub

choose when you want a direct peer with Postgres wire compatibility and strong consistency.

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

10.5k
C
NOASSERTION
active1mo ago
ydb-platform/ydbGitHub

choose when you want a distributed SQL database from the Yandex ecosystem with ACID and high availability.

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions

4.8k
C++
Apache-2.0
active1mo ago
pingcap/tidbGitHub

choose when you need a MySQL-compatible distributed SQL database with integrated analytics and vector search.

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

40.5k
Go
Apache-2.0
active1mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

citusdata/citusGitHub

choose when you want to scale PostgreSQL with an extension, keeping Postgres compatibility and existing tooling.

Distributed PostgreSQL as an extension

12.7k
C
AGPL-3.0
active1mo ago
neondatabase/neonGitHub

choose when you need serverless Postgres with autoscaling and branching, not a self-managed cluster.

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

23.1k
Rust
Apache-2.0
active1mo ago
matrixorigin/matrixoneGitHub

choose when you need a distributed SQL database optimized for HTAP and vector search.

AI-native HTAP database with Git-for-Data and built-in vector search, serving as the data and memory backbone for intelligent agents and applications.

1.9k
Go
Apache-2.0
active1mo ago
apache/shardingsphereGitHub

choose when you need to shard existing databases with a middleware layer instead of migrating to a new database.

Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.

20.8k
Java
Apache-2.0
active1mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

rqlite/rqliteGitHub

choose when you need a lightweight, fault-tolerant SQL database built on SQLite for minimal footprints.

The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.

17.7k
Go
MIT
active1mo ago
litebase/litebaseGitHub

choose when you need a simple distributed SQL database built on SQLite with object-storage backing.

Open source distributed database built on SQLite and backed by distributed file systems and object storage

449
Go
MIT
active7mo ago
radondb/radonGitHub

choose if you need a legacy MySQL-compatible distributed database architecture.

RadonDB is an open source, cloud-native MySQL database for building global, scalable cloud services

1.8k
Go
GPL-3.0
dormant4.3y ago
zettadb/kunlunGitHub

choose if you need an older NewSQL database with ACID, though it is no longer actively developed.

KunlunBase is a distributed relational database management system(RDBMS) with complete NewSQL capabilities and robust transaction ACID guarantees and is compatible with standard SQL. Applications which used PostgreSQL or MySQL can work with KunlunBase as-is without any code change or rebuild because KunlunBase supports both PostgreSQL and MySQL connection protocols and DML SQL grammars. MySQL DBAs can quickly work on a KunlunBase cluster because we use MySQL as storage nodes of KunlunBase. KunlunBase can elastically scale out as needed, and guarantees transaction ACID under error conditions, and KunlunBase fully passes TPC-C, TPC-H and TPC-DS test suites, so it not only support OLTP workloads but also OLAP workloads. Application developers can use KunlunBase to build IT systems that handles terabytes of data, without any effort on their part to implement data sharding, distributed transaction processing, distributed query processing, crash safety, high availability, strong consistency, horizontal scalability. All these powerful features are provided by KunlunBase. KunlunBase supports powerful and user friendly cluster management, monitor and provision features, can be readily used as DBaaS.

149
C
Apache-2.0
dormant3.1y ago
tursodatabase/tursoGitHub

choose when you need a SQLite-compatible distributed edge database for low-latency edge applications.

A SQL database in Rust: SQLite-compatible, now also speaking Postgres (experimental). The LLVM of databases.

24.0k
Rust
MIT
active2mo ago

Listed as an alternative to

These projects were analysed and named cockroach among their alternatives. The relationship is not symmetric — how cockroach rates them is a separate judgement, made when cockroach is analysed in its own right.

yugabyte/yugabyte-dbGitHub

calls cockroach “Choose if you want a mature Go-based distributed SQL DB with advanced multi-region features and accept a source-available license.”

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

10.5kCactive
surrealdb/surrealdbGitHub

calls cockroach “Choose for a cloud-native distributed SQL database with Postgres compatibility and serializable transactions.”

A scalable, distributed, collaborative, document-graph database, for the realtime web

33.0kRustactive
neondatabase/neonGitHub

calls cockroach “When you need a Postgres-compatible distributed SQL database with its own integrated storage and compute, not serverless.”

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

23.1kRustactive
vitessio/vitessGitHub

calls cockroach “A PostgreSQL-wire distributed SQL database; choose it when you can adopt Postgres compatibility and want built-in multi-region resilience without a MySQL proxy layer.”

Vitess is a database clustering system for horizontal scaling of MySQL.

21.3kGoactive
apache/shardingsphereGitHub

calls cockroach “Choose it when you want a PostgreSQL-compatible distributed SQL database that scales natively instead of routing/sharding a legacy DB setup.”

Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.

20.8kJavaactive
rqlite/rqliteGitHub

calls cockroach “Choose when you need a production-scale distributed SQL database with PostgreSQL compatibility, accepting much heavier operational overhead.”

The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.

17.7kGoactive
arangodb/arangodbGitHub

calls cockroach “choose when you need a strongly consistent distributed SQL database instead of multi-model JSON/graph.”

🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.

14.3kC++active
citusdata/citusGitHub

calls cockroach “Choose when you need a cloud-native, distributed SQL DB with automatic rebalancing and migrations, independent of Postgres.”

Distributed PostgreSQL as an extension

12.7kCactive
datalevin/datalevinGitHub

calls cockroach “Choose when you need geo-distributed Postgres-compatible SQL with automatic failover rather than an embeddable engine.”

A simple, fast and versatile Datalog database

1.5kClojureactive