General FAQ


Evaluating YugabyteDB


What is YugabyteDB?

YugabyteDB is a high-performance distributed SQL database for powering global, internet-scale applications. Built using a unique combination of high-performance document store, per-shard distributed consensus replication and multi-shard ACID transactions (inspired by Google Spanner), YugabyteDB serves both scale-out RDBMS and internet-scale OLTP workloads with low query latency, extreme resilience against failures and global data distribution. As a cloud native database, it can be deployed across public and private clouds as well as in Kubernetes environments with ease.

YugabyteDB is developed and distributed as an Apache 2.0 open source project.

What makes YugabyteDB unique?

YugabyteDB is a transactional database that brings together four must-have needs of cloud native apps - namely SQL as a flexible query language, low-latency performance, continuous availability, and globally-distributed scalability. Other databases do not serve all 4 of these needs simultaneously.

  • Monolithic SQL databases offer SQL and low-latency reads, but neither have the ability to tolerate failures, nor can they scale writes across multiple nodes, zones, regions, and clouds.

  • Distributed NoSQL databases offer read performance, high availability, and write scalability, but give up on SQL features such as relational data modeling and ACID transactions.

YugabyteDB feature highlights are listed below.

SQL and ACID transactions

High performance and massive scalability

  • Low latency for geo-distributed applications with multiple read consistency levels and read replicas.

  • Linearly scalable throughput for ingesting and serving ever-growing datasets.

Global data consistency

  • Global data distribution that brings consistent data close to users through multi-region and multi-cloud deployments. Optional two-region multi-master and master-follower configurations powered by CDC-driven asynchronous replication.

  • Auto-sharding and auto-rebalancing to ensure uniform load across all nodes even for very large clusters.

Cloud native

Open source

Built-in enterprise features

  • Starting in v1.3, YugabyteDB is the only open-source distributed SQL database to have built-in enterprise features such as Distributed Backups, Data Encryption, and Read Replicas. New features such as Change Data Capture (CDC) and 2 Data Center Deployments are also included in open source.

How many major releases YugabyteDB has had so far?

YugabyteDB has had the following major (stable) releases:

  • v2.20 in November 2023
  • v2.18 in May 2023
  • v2.16 in December 2022
  • v2.14 in July 2022.
  • v2.12 in February 2022. (There was no v2.10 release.)
  • v2.8 in November 2021.
  • v2.6 in July 2021.
  • v2.4 in January 2021.
  • v2.2 in July 2020.
  • v2.1 in February 2020.
  • v2.0 in September 2019.
  • v1.3 in July 2019.
  • v1.2 in March 2019.
  • v1.1 in September 2018.
  • v1.0 in May 2018.
  • v0.9 Beta in November 2017.

Releases, including upcoming releases, are outlined on the Releases Overview page. The roadmap for this release can be found on GitHub.

Is YugabyteDB open source?

Starting with v1.3, YugabyteDB is 100% open source. It is licensed under Apache 2.0 and the source is available on GitHub.

Can I deploy YugabyteDB to production?

Yes, both YugabyteDB APIs are production ready. YCQL achieved this status starting with v1.0 in May 2018 while YSQL became production ready starting v2.0 in September 2019.

Which companies are currently using YugabyteDB in production?

Reference deployments are listed in Success Stories.

What is the definition of the "Beta" feature tag?

Some features are marked Beta in every release. Following are the points to consider:

  • Code is well tested. Enabling the feature is considered safe. Some of these features enabled by default.

  • Support for the overall feature will not be dropped, though details may change in incompatible ways in a subsequent beta or GA release.

  • Recommended only for non-production use.

Please do try our beta features and give feedback on them on our Slack community or by filing a GitHub issue.

How do YugabyteDB, YugabyteDB Anywhere, and YugabyteDB Managed differ from each other?

YugabyteDB is the 100% open source core database. It is the best choice for the startup organizations with strong technical operations expertise looking to deploy to production with traditional DevOps tools.

YugabyteDB Anywhere is commercial software for running a self-managed YugabyteDB-as-a-Service. It has built-in cloud native operations, enterprise-grade deployment options, and world-class support. It is the simplest way to run YugabyteDB in mission-critical production environments with one or more regions (across both public cloud and on-premises data centers).

YugabyteDB Managed is Yugabyte's fully-managed cloud service on Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). Sign up to get started.

For a more detailed comparison between the above, see Compare Products.

How do I report a security vulnerability?

Please follow the steps in the vulnerability disclosure policy to report a vulnerability to our security team. The policy outlines our commitments to you when you disclose a potential vulnerability, the reporting process, and how we will respond.

Evaluating YugabyteDB

What are the trade-offs involved in using YugabyteDB?

Trade-offs depend on the type of database used as baseline for comparison.

Distributed SQL

Examples: Amazon Aurora, Google Cloud Spanner, CockroachDB, TiDB

Benefits of YugabyteDB

  • Low-latency reads and high-throughput writes.
  • Cloud-neutral deployments with a Kubernetes-native database.
  • 100% Apache 2.0 open source even for enterprise features.


  • None

Learn more: What is Distributed SQL?

Monolithic SQL

Examples: PostgreSQL, MySQL, Oracle, Amazon Aurora.

Benefits of YugabyteDB

  • Scale write throughput linearly across multiple nodes and/or geographic regions.
  • Automatic failover and native repair.
  • 100% Apache 2.0 open source even for enterprise features.


  • Transactions and JOINs can now span multiple nodes, thereby increasing latency.

Learn more: Distributed PostgreSQL on a Google Spanner Architecture – Query Layer

Traditional NewSQL

Examples: Vitess, Citus

Benefits of YugabyteDB

  • Distributed transactions across any number of nodes.
  • No single point of failure given all nodes are equal.
  • 100% Apache 2.0 open source even for enterprise features.


  • None

Learn more: Rise of Globally Distributed SQL Databases – Redefining Transactional Stores for Cloud Native Era

Transactional NoSQL

Examples: MongoDB, Amazon DynamoDB, FoundationDB, Azure Cosmos DB.

Benefits of YugabyteDB

  • Flexibility of SQL as query needs change in response to business changes.
  • Distributed transactions across any number of nodes.
  • Low latency, strongly consistent reads given that read-time quorum is avoided altogether.
  • 100% Apache 2.0 open source even for enterprise features.


  • None

Learn more: Why are NoSQL Databases Becoming Transactional?

Eventually Consistent NoSQL

Examples: Apache Cassandra, Couchbase.

Benefits of YugabyteDB

  • Flexibility of SQL as query needs change in response to business changes.
  • Strongly consistent, zero data loss writes.
  • Strongly consistent as well as timeline-consistent reads without resorting to eventual consistency-related penalties such as read repairs and anti-entropy.
  • 100% Apache 2.0 open source even for enterprise features.


  • Extremely short unavailability during the leader election time for all shard leaders lost during a node failure or network partition.

Learn more: Apache Cassandra: The Truth Behind Tunable Consistency, Lightweight Transactions & Secondary Indexes

When is YugabyteDB a good fit?

YugabyteDB is a good fit for fast-growing, cloud native applications that need to serve business-critical data reliably, with zero data loss, high availability, and low latency. Common use cases include:

  • Distributed Online Transaction Processing (OLTP) applications needing multi-region scalability without compromising strong consistency and low latency. For example, user identity, Retail product catalog, Financial data service.

  • Hybrid Transactional/Analytical Processing (HTAP), also known as Translytical, applications needing real-time analytics on transactional data. For example, user personalization, fraud detection, machine learning.

  • Streaming applications needing to efficiently ingest, analyze, and store ever-growing data. For example, IoT sensor analytics, time series metrics, real-time monitoring.

See some success stories at

When is YugabyteDB not a good fit?

YugabyteDB is not a good fit for traditional Online Analytical Processing (OLAP) use cases that need complete ad-hoc analytics. Use an OLAP store such as Druid or a data warehouse such as Snowflake.

Any performance benchmarks available?

Yahoo Cloud Serving Benchmark (YCSB) is a popular benchmarking framework for NoSQL databases. We benchmarked the Yugabyte Cloud QL (YCQL) API against standard Apache Cassandra using YCSB. YugabyteDB outperformed Apache Cassandra by increasing margins as the number of keys (data density) increased across all the 6 YCSB workload configurations.

Netflix Data Benchmark (NDBench) is another publicly available, cloud-enabled benchmark tool for data store systems. We ran NDBench against YugabyteDB for 7 days and observed P99 and P995 latencies that were orders of magnitude less than that of Apache Cassandra.

Details for both the above benchmarks are published in Building a Strongly Consistent Cassandra with Better Performance.

What about correctness testing?

Jepsen is a widely used framework to evaluate the behavior of databases under different failure scenarios. It allows for a database to be run across multiple nodes, and create artificial failure scenarios, as well as verify the correctness of the system under these scenarios. YugabyteDB 1.2 passes formal Jepsen testing.

How does YugabyteDB compare to other SQL and NoSQL databases?

See Compare YugabyteDB to other databases


How does YugabyteDB's common document store work?

DocDB, YugabyteDB's distributed document store is common across all APIs, and built using a custom integration of Raft replication, distributed ACID transactions, and the RocksDB storage engine. Specifically, DocDB enhances RocksDB by transforming it from a key-value store (with only primitive data types) to a document store (with complex data types). Every key is stored as a separate document in DocDB, irrespective of the API responsible for managing the key. DocDB's sharding, replication/fault-tolerance, and distributed ACID transactions architecture are all based on the Google Spanner design first published in 2012. How We Built a High Performance Document Store on RocksDB? provides an in-depth look into DocDB.

How can YugabyteDB be both CP and ensure high availability at the same time?

In terms of the CAP theorem, YugabyteDB is a consistent and partition-tolerant (CP) database. It ensures high availability (HA) for most practical situations even while remaining strongly consistent. While this may seem to be a violation of the CAP theorem, that is not the case. CAP treats availability as a binary option whereas YugabyteDB treats availability as a percentage that can be tuned to achieve high write availability (reads are always available as long as a single node is available).

  • During network partitions or node failures, the replicas of the impacted tablets (whose leaders got partitioned out or lost) form two groups: a majority partition that can still establish a Raft consensus and a minority partition that cannot establish such a consensus (given the lack of quorum). The replicas in the majority partition elect a new leader among themselves in a matter of seconds and are ready to accept new writes after the leader election completes. For these few seconds till the new leader is elected, the DB is unable to accept new writes given the design choice of prioritizing consistency over availability. All the leader replicas in the minority partition lose their leadership during these few seconds and hence become followers.

  • Majority partitions are available for both reads and writes. Minority partitions are not available for writes, but may serve stale reads (up to a staleness as configured by the --max_stale_read_bound_time_ms flag). Multi-active availability refers to YugabyteDB's ability to dynamically adjust to the state of the cluster and serve consistent writes at any replica in the majority partition.

  • The approach above obviates the need for any unpredictable background anti-entropy operations as well as need to establish quorum at read time. As shown in the YCSB benchmarks against Apache Cassandra, YugabyteDB delivers predictable p99 latencies as well as 3x read throughput that is also timeline-consistent (given no quorum is needed at read time).

On one hand, the YugabyteDB storage and replication architecture is similar to that of Google Cloud Spanner, which is also a CP database with high write availability. While Google Cloud Spanner leverages Google's proprietary network infrastructure, YugabyteDB is designed work on commodity infrastructure used by most enterprise users. On the other hand, YugabyteDB's multi-model, multi-API, and tunable read latency approach is similar to that of Azure Cosmos DB.

A post on our blog titled Practical Tradeoffs in Google Cloud Spanner, Azure Cosmos DB and YugabyteDB goes through the above tradeoffs in more detail.

Why is a group of YugabyteDB nodes called a universe instead of the more commonly used term clusters?

A YugabyteDB universe packs a lot more functionality than what people think of when referring to a cluster. In fact, in certain deployment choices, the universe subsumes the equivalent of multiple clusters and some of the operational work needed to run them. Here are just a few concrete differences, which made us feel like giving it a different name would help earmark the differences and avoid confusion:

  • A YugabyteDB universe can move into new machines, availability zones (AZs), regions, and data centers in an online fashion, while these primitives are not associated with a traditional cluster.

  • You can set up multiple asynchronous replicas with just a few clicks (using YugabyteDB Anywhere). This is built into the universe as a first-class operation with bootstrapping of the remote replica and all the operational aspects of running asynchronous replicas being supported natively. In the case of traditional clusters, the source and the asynchronous replicas are independent clusters. The user is responsible for maintaining these separate clusters as well as operating the replication logic.

  • Failover to asynchronous replicas as the primary data and fallback once the original is up and running are both natively supported in a universe.

Why is consistent hash sharding the default sharding strategy?

Users primarily turn to YugabyteDB for scalability reasons. Consistent hash sharding is ideal for massively scalable workloads because it distributes data evenly across all the nodes in the cluster, while retaining ease of adding nodes into the cluster. Most use cases that require scalability do not need to perform range lookups on the primary key, so consistent hash sharding is the default sharding strategy for YugabyteDB. Common applications that do not need hash sharding include user identity (user IDs do not need ordering), product catalog (product IDs are not related to one another), and stock ticker data (one stock symbol is independent of all other stock symbols). For applications that benefit from range sharding, YugabyteDB lets you select that option.

To learn more about sharding strategies and lessons learned, see Four Data Sharding Strategies We Analyzed in Building a Distributed SQL Database.