yugabyte-db

yugabyte活跃维护

云原生分布式 SQL 数据库,面向关键业务场景,支持跨区域、多云部署和水平扩展,兼容 PostgreSQL。

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

v2026.1.3.0发布于 2026-11-06 02:24 UTC10,659star1,472fork同步于 2026-11-10 23:30 UTC

怎么上手

由 README 提炼,执行前请确认
README 未给出可直接复制的最小安装命令,仅指向官方 Quick Start 文档:https://docs.yugabyte.com/stable/quick-start/
硬件要求按 README 说明

README 未说明具体 CPU、内存或磁盘要求,也未列出支持的 GPU 厂商与型号;仅说明可部署在公有云和 Kubernetes 中,并支持跨多故障域部署。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

兼容 PostgreSQL 的云原生分布式 SQL 数据库,为关键业务 OLTP 提供强一致与容灾

云原生分布式 SQL 数据库,面向关键业务场景,支持跨区域、多云部署和水平扩展,兼容 PostgreSQL。

核心能力

  • 复用 PostgreSQL 查询层,支持大部分数据类型、存储过程和扩展
  • 基于 Raft 复制与混合逻辑时钟实现分布式 ACID 事务
  • 支持快照、可串行化、读已提交三种隔离级别
  • 原生容忍磁盘、机架、节点、可用区、区域和云故障
  • 增加节点即可线性扩展 IOPS 与存储容量

容易踩的坑

README 未提供安装步骤,需按官方 Quick Start 文档操作,不能仅凭本 README 直接运行;部分 PostgreSQL 特性(如 CBO、并行查询、pgvector)在路线图中或需按版本与配置开启,并非所有版本默认可用;跨节点部署需关注时钟同步,v2025.2 起推荐使用 ClockBound 提升时钟精度。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v2026.1.3.0
  1. v2026.1.3.0v2026.1.3.0 (Released November 05, 2026)最新正式版2026-11-06 · 2026-11-06 02:24 UTC

    Download the artifacts and read the release notes here - https://docs.yugabyte.com/stable/releases/ybdb-releases/v2026.1/#v2026.1.3.0

  2. v2025.2.8.1v2025.2.8.1 (Released November 04, 2026)2026-11-04 · 2026-11-04 16:47 UTC
    查看更新说明

    Download the artifacts and read the release notes here - https://docs.yugabyte.com/stable/releases/ybdb-releases/v2025.2/#v2025.2.8.1

  3. v2025.2.8.0v2025.2.8.0 (Released October 23, 2026)2026-10-23 · 2026-10-23 19:47 UTC
    查看更新说明

    Download the artifacts and read the release notes here - https://docs.yugabyte.com/stable/releases/ybdb-releases/v2025.2/#v2025.2.8.0

  4. v2025.2.7.0v2025.2.7.0 (Released October 05, 2026)2026-10-05 · 2026-10-05 17:14 UTC
    查看更新说明

    Download the artifacts and read the release notes here - https://docs.yugabyte.com/stable/releases/ybdb-releases/v2025.2/#v2025.2.7.0

  5. v2026.1.2.0v2026.1.2.0 (Released September 22, 2026)2026-09-22 · 2026-09-22 20:30 UTC
    查看更新说明

    Download the artifacts and read the release notes here - https://docs.yugabyte.com/stable/releases/ybdb-releases/v2026.1/#v2026.1.2.0

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    License Documentation Status Ask in forum Slack chat Analytics

    What is YugabyteDB?

    YugabyteDB is a PostgreSQL-compatible, high-performance, cloud-native, distributed SQL database. It combines the benefits of traditional relational databases with the scalability of NoSQL systems, making it suitable for applications that require both transactional consistency and the ability to handle large amounts of data. It is best suited for cloud-native OLTP (that is, real-time, business-critical) applications that need absolute data correctness and require at least one of the following: scalability, high tolerance to failures, or globally-distributed deployments.

    Core Features

    • Powerful RDBMS capabilities Yugabyte SQL (YSQL for short) reuses the PostgreSQL query layer (similar to Amazon Aurora PostgreSQL), thereby supporting most of its features (datatypes, queries, expressions, operators and functions, stored procedures, triggers, extensions, and so on).

    • Distributed transactions The transaction design is based on the Google Spanner architecture. Strong consistency of writes is achieved by using Raft consensus for replication and cluster-wide distributed ACID transactions using hybrid logical clocks. Snapshot, serializable and read committed isolation levels are supported. Reads (queries) have strong consistency by default, but can be tuned dynamically to read from followers and read replicas.

    • Continuous availability YugabyteDB is extremely resilient to common outages with native failover and repair. YugabyteDB can be configured to tolerate disk, rack, node, zone, region, and cloud failures automatically. For a typical deployment where a YugabyteDB cluster is deployed in one region across multiple zones on a public cloud, the RPO is 0 (meaning no data is lost on failure) and the RTO is 3 seconds (meaning the data being served by the failed node is available in 3 seconds).

    • Horizontal scalability Scaling a YugabyteDB cluster to achieve more IOPS or data storage is as simple as adding nodes to the cluster.

    • Geo-distributed, multi-cloud YugabyteDB can be deployed in public clouds and natively inside Kubernetes. It supports deployments that span three or more fault domains, such as multi-zone, multi-rack, multi-region, and multi-cloud deployments. It also supports xCluster asynchronous replication with unidirectional master-slave and bidirectional multi-master configurations in two-region deployments. Read replicas are also a supported to serve (stale) data with low latencies.

    • Multi API design The YugabyteDB query layer is built to be extensible. Currently, YugabyteDB supports two distributed SQL APIs: Yugabyte SQL (YSQL), a fully relational API that re-uses the PostgreSQL query layer, and Yugabyte Cloud QL (YCQL), a semi-relational SQL-like API with documents/indexing support with Apache Cassandra QL roots.

    • 100% open source YugabyteDB is fully open-source under the Apache 2.0 license. The open-source version has powerful enterprise features such as distributed backups, encryption of data at rest, in-flight TLS encryption, change data capture, read replicas, and more.

    YugabyteDB was created with several key design goals in mind, aiming to address the challenges faced by modern, cloud-native applications while maintaining the familiarity and power of traditional relational databases. Read more about these in our Design goals.

    Get Started

    Can't find what you're looking for? Have a question? Post your questions or comments on our Community Slack or Forum.

    Build Applications

    YugabyteDB supports many languages and client drivers, including Java, Go, NodeJS, Python, and more. For a complete list, including examples, see Drivers and ORMs.

    Current Roadmap

    The following is a list of some of the key features being worked on for upcoming releases.

    FeatureDetails
    PostgreSQL 15 CompatibilityFor latest features, new PostgreSQL extensions, performance, and community fixes.
    PostgreSQL Publication/Replication slot API in CDCPostgreSQL has a huge community that needs a PG-compatible API to set up and consume database changes.
    Bitmap scanBitmap Scan support for using Index Scans, remote filter and enhanced Cost Model.
    Cost based optimizer(CBO)Efficient query plans based on statistics (such as table size, number of rows) and data distribution.
    Parallel query executionHigher query performance by splitting a single query for execution across different CPU cores.
    pgvector extensionSupport for vector data types, enabling efficient storage and querying of high-dimensional vectors.
    Connection ManagementServer side connection management enabling upto 30K connections per node

    Refer to roadmap tracker for the list of all items in the current roadmap.

    Recently released features

    v2025.2 (Stable) - December 2025

    v2025.2 is the current stable release. Stable releases undergo rigorous testing for a longer period of time and are ready for production use. For the full list of features and improvements in this release, see Release notes - v2025.2. Here are some of the prominent features.

    PostgreSQL features enabled by default on new universes**

    For new universes running v2025.2 or later, the following YSQL features are now enabled by default when you deploy using yugabyted, YugabyteDB Anywhere, or YugabyteDB Aeon (coming soon to the Early Access track):

    In addition, if you upgrade to v2025.2 and the universe already has cost-based optimizer enabled, the following features are enabled by default:

    • Auto Analyze
    • YugabyteDB bitmap scan
    • Parallel append

    Note that, apart from the exceptions noted, upgrading existing universes does not change the defaults for any of these features.

    For more information on PostgreSQL features developed in YugabyteDB for enhanced compatibility, refer to Enhanced PostgreSQL Compatibility Mode.

    Table-level locking for concurrent DDL and DML

    Added Table-level locks to support concurrent DDL and DML operations across sessions, improving workload concurrency and reducing conflicts during schema changes.

    Improved time synchronization across nodes

    Time synchronization across nodes has been enhanced through the use of the ClockBound library, which is an open source daemon that allows you to compare timestamps to determine order for events and transactions, independent of an instance's geographic location; it improves clock accuracy by several orders of magnitude.

    v2025.1 (Stable) - July 2025

    For the full list of features and improvements in this release, see Release notes - v2025.1. Here are some of the prominent features.

    PostgreSQL 15 compatible YugabyteDB clusters

    This is the first stable release featuring a PostgreSQL fork rebase from version 11.2 to 15.0, enabling you to leverage the many key capabilities introduced in PostgreSQL between the two versions. This upgrade brings YSQL API support for numerous features, including stored generated columns, foreign keys on partitioned tables, and non-distinct NULLs in unique indexes. It also introduces query execution optimizations like incremental sort and memoization, along with various observability and security enhancements.

    We're also pleased to announce that YugabyteDB 2025.1.0.0 supports in-place online upgrades and downgrade—even with the PostgreSQL fork rebased to 15.0.

    Note that the source cluster must be running version 2024.2.3.0 or later to upgrade to version 2025.1.0.

    HNSW indexing support for pgvector

    Brings AI-native capability by enabling efficient similarity search in vector workloads. Enhanced vector search capabilities via Hierarchical Navigable Small World (HNSW) indexing provide faster and more efficient high-dimensional vector lookups.

    Automatic transactional xCluster DDL replication

    YugabyteDB now supports seamless replication of YSQL DDL changes across xCluster setups, eliminating the need to manually apply DDLs on both source and target clusters.

    Parallel queries: Enabling PG parallelism for colocated tables

    Improves query performance for colocated tables by allowing PostgreSQL to leverage multiple CPUs, leading to faster query execution times.

    Optimization of INSERT ON CONFLICT batching

    Queries using the INSERT ... ON CONFLICT clause are optimized for efficient execution, with automatic batching applied when multiple statements are executed to improve performance.

    Cost-Based Optimizer (CBO)

    The CBO leverages YugabyteDB's distributed storage architecture and advanced query execution optimizations, including query pushdowns, LSM indexes, and batched nested loop joins, to deliver PostgreSQL-like performance.

    Bitmap scan support

    Combine multiple indexes for more efficient scans.

    v2.25 (Preview) - January 2025

    v2.25 is the most recent Preview release. This includes features under active development and is recommended for development and testing only. For the full list of features and improvements in this release, see Release notes - v2.25. Here are some of the prominent features.

    PostgreSQL 15 Support

    As part of this release, we have upgraded our PostgreSQL fork from version 11.2 to 15.0, enabling you to leverage the many key capabilities introduced in PostgreSQL between these two versions. This upgrade brings YSQL API support for numerous features, including stored generated columns, foreign keys on partitioned tables, and non-distinct NULLs in unique indexes. It also introduces query execution optimizations like incremental sort and memoization, along with various observability and security enhancements.

    Query Diagnostics

    This feature significantly simplifies tuning poorly performing SQL queries by allowing you to capture and export detailed diagnostic information, including bind variables and constants, pg_stat_statements statistics, schema details, active session history, and execution plans.

    Active session history

    In addition, the Active Session History, which provides real-time and historical views of system activity, is now enabled by default.

    Architecture

    Review detailed architecture in our Docs.

    Need Help?

    Contribute

    As an open-source project with a strong focus on the user community, we welcome contributions as GitHub pull requests. See our Contributor Guides to get going. Discussions and RFCs for features happen on the design discussions section of our Forum.

    For AI agents, refer to AGENTS.md for guidance on working with this codebase.

    License

    This repository contains two differently licensed components. See LICENSE.md for detailed directory mappings.

    By default, the build generates only the Apache 2.0 licensed database binaries.

    Read More