A cloud-native distributed SQL database built on a strongly-consistent key-value store, with PostgreSQL wire protocol compatibility.
yugabyte/yugabyte-db
A PostgreSQL-compatible distributed SQL database for cloud-native OLTP workloads that need strong consistency, scalability and fault tolerance.
Open-source alternative to:Amazon Aurora
CockroachDB Cloud
- Stars
- 10,619
- Forks
- 1,361
- Open issues
- 8,658
- Last commit
- 9 hours ago
What is it?
YugabyteDB is a distributed SQL database that reuses the PostgreSQL query layer, so most PostgreSQL datatypes, queries, functions, triggers and extensions work on it. It is aimed at real-time, business-critical OLTP applications that need strict data correctness alongside horizontal scale, high failure tolerance or deployments across regions and clouds.
Writes are replicated with Raft consensus, and transactions are distributed ACID transactions using hybrid logical clocks, with snapshot, serializable and read committed isolation levels. Reads are strongly consistent by default and can be tuned to read from followers or read replicas. Capacity grows by adding nodes to the cluster, and the database can tolerate disk, node, zone, region or cloud failures automatically.
Besides the PostgreSQL-compatible YSQL API, it provides YCQL, a semi-relational API with roots in Apache Cassandra's query language. The core database is licensed under Apache 2.0, and the repository also includes YugabyteDB Anywhere, a management platform under a separate license.
Key features
- 01PostgreSQL-compatible YSQL API that reuses the PostgreSQL query layer.
- 02Distributed ACID transactions with snapshot, serializable and read committed isolation.
- 03Raft-based replication with automatic failover across zones, regions and clouds.
- 04Horizontal scaling by adding nodes to a cluster.
- 05Read replicas and xCluster asynchronous replication for low-latency reads and multi-region setups.
- 06Supports Kubernetes-native deployment and common language drivers such as Java, Go, Node.js and Python.
Use cases
- Running business-critical transactional applications that need strong consistency and high availability.
- Migrating PostgreSQL workloads to a database that scales out across nodes.
- Deploying a single database across multiple regions or public clouds.
- Building cloud-native services on Kubernetes that require resilience to zone or region outages.
Quick start
- 1
Follow the Quick Start guide linked in the README
Things to know
- Several features in the README's roadmap, such as parallel query execution and a cost-based optimizer, are still being worked on.
- The metadata license field is NOASSERTION, though the README states Apache 2.0, so check the LICENSE file yourself.
In collections
Topics
FAQ
- What is yugabyte-db?
- A PostgreSQL-compatible distributed SQL database for cloud-native OLTP workloads that need strong consistency, scalability and fault tolerance. YugabyteDB is a distributed SQL database that reuses the PostgreSQL query layer, so most PostgreSQL datatypes, queries, functions, triggers and extensions work on it. It is aimed at real-time, business-critical OLTP applications that need strict data correctness alongside horizontal scale, high failure tolerance or deployments across regions and clouds.
- Is yugabyte-db free to use? What license does it have?
- yugabyte-db is open source under the Other license. Check the license terms before using it in commercial products.
- Is yugabyte-db still maintained?
- Actively maintained. The last commit to yugabyte-db was on Oct 24, 2026.
- What can I use yugabyte-db for?
- Running business-critical transactional applications that need strong consistency and high availability. Migrating PostgreSQL workloads to a database that scales out across nodes. Deploying a single database across multiple regions or public clouds. Building cloud-native services on Kubernetes that require resilience to zone or region outages.
- How do I install yugabyte-db?
- Follow the Quick Start guide linked in the README
- Where can I get yugabyte-db?
- The source code and installation instructions are on GitHub: https://github.com/yugabyte/yugabyte-db
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Open-source distributed relational database from Ant Group, MySQL-compatible, built on Paxos for high availability and horizontal scaling.
A lightweight, fault-tolerant distributed relational database built on SQLite, replicated across nodes via Raft consensus.
Open-source distributed SQL database with MySQL 8.0 compatibility, ACID transactions, HTAP analytics, and vector search.
A leaderless, distributed SQLite replication server that accepts writes on any node and speaks the MySQL wire protocol.
Open-source serverless Postgres that separates storage and compute, with autoscaling, database branching and scale-to-zero.