YugabyteDB logo

YugabyteDB

PostgreSQL-compatible distributed SQL database for cloud-native OLTP and geo-distributed deployments

Open Source Alternative to
Repository activity
  • Stars10.3k
  • Forks1.3k
  • Open Issues8k
License

Other

Languages
  • C
  • C++
  • Java
YugabyteDB screenshot

About YugabyteDB

YugabyteDB is a PostgreSQL-compatible, cloud-native distributed SQL database for OLTP applications that need transactional consistency, scalability, failure tolerance, or globally distributed deployment. It combines relational database capabilities with NoSQL-style horizontal scaling.

YSQL reuses the PostgreSQL query layer and supports many PostgreSQL features, including datatypes, queries, stored procedures, triggers, and extensions. Distributed ACID transactions use Raft consensus and hybrid logical clocks, with snapshot, serializable, and read committed isolation levels. The database also supports YCQL, a SQL-like API with Apache Cassandra QL roots.

YugabyteDB can run in public clouds and natively inside Kubernetes, including multi-zone, multi-rack, multi-region, and multi-cloud setups. The open-source version is licensed under Apache 2.0 and includes distributed backups, encryption at rest, in-flight TLS, change data capture, and read replicas.

Key features

  • PostgreSQL-compatible YSQL query layer
  • Distributed ACID transactions with Raft consensus
  • Horizontal scaling by adding nodes
  • Multi-zone, multi-region, and multi-cloud deployments
  • Distributed backups, CDC, encryption at rest, and in-flight TLS

Details

First released
2017
License
Apache 2.0
APIs
YSQL · YCQL
Transactions
ACID · Raft · hybrid logical clocks
Deployments
Public cloud · Kubernetes
Replication
Read replicas · xCluster