No Description https://ydb.tech/

ivanmorozov333 06c6c6616b fix dedup normalizer (#9849) 2 hours ago
.github cfbb87ca49 ci: retry testmo requests (#9727) 21 hours ago
build c853e78c5e Merge branch 'rightlib' into mergelibs-240926-1443 1 day ago
certs 6d3e410c45 Remove CMakeLists from main (#2032) 7 months ago
contrib c853e78c5e Merge branch 'rightlib' into mergelibs-240926-1443 1 day ago
devtools d0ffb6b83b Revert "Remove devtools folder (#895)" (#922) 8 months ago
library c853e78c5e Merge branch 'rightlib' into mergelibs-240926-1443 1 day ago
scripts 36eb26f5fd Update cmake generation script to use ya, add platforms and ignored errors, add --keep-going (#857) 8 months ago
tools 319516652c Temporary enable fix-elf by default 1 month ago
util 8ae794f503 Make TNothing nodiscard 2 days ago
vendor 9cf8a3ea4a Extract Go lib version from yo 5 days ago
ydb 06c6c6616b fix dedup normalizer (#9849) 2 hours ago
yt 47e779420b YT-21484: Consider partition sizes in coordination by sample keys 1 day ago
.arcadia.root bf0f13dd39 add ymake export to ydb 1 year ago
.gitignore e7a7fd1004 golang pg test (#8132) 2 weeks ago
.mapping.json afb7a6aaa6 Return .mapping.json to keep libraries automergeable (#3413) 5 months ago
.piglet-meta.json 0cde7699c4 Intermediate changes 1 month ago
AUTHORS fa938ab62c Update email for Andrey Satarin 2 years ago
BUILD.md 90e4c071d0 Fix typo (#1942) 7 months ago
CODE_OF_CONDUCT.md dec67df320 fix broken link 2 years ago
CONTRIBUTING.md ff661730e2 Update CONTRIBUTING.md and LICENSE (#3119) 5 months ago
LICENSE f7ecaf6b8f Fix LICENSE text to autodetect by GitHub (#4338) 4 months ago
README.md 186c199a18 Update README.md (#4534) 4 months ago
ROADMAP.md b9dc6e7180 Update some records, add a link to Epics board. 1 week ago
SECURITY.md db479c3342 added security.md INFRAMARKETING-233 2 years ago
clang.toolchain da71f95f6c maintenance: fix typo (#492) 6 months ago
conanfile.txt 04a19cc6b6 Intermediate changes 1 year ago
generate_cmake 6ee3d1ca96 Export by new cmake generator (#9216) 2 weeks ago
ya a0c6ba82cd Automatic release build for test_tool, os_ya, ya_bin, os_test_tool 5 days ago
ya.conf ca9d454141 Intermediate changes 6 months ago

README.md


License Release Discord

YDB

Website | Documentation | Official Repository | Blog | YouTube | Discord | Telegram | LinkedIn | X

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

YDB Product Video

Main YDB Advantages

YDB was designed from scratch to respond to the growing demand for scalable interactive web services. Scalability, strict consistency, and effective cross-row transactions were a must for such an OLTP-like workload. YDB was built by people with strong backgrounds in databases and distributed systems who have experience developing a NoSQL database and the MapReduce system for one of the largest search engines in the world.

Basic YDB features:

  • Both row-oriented and column-oriented tables for transactional and analytical workloads. Also, persistent queues (topics) for moving data around.
  • Fault-tolerant configuration that survives disk, node, rack, or even datacenter outages.
  • Automatic disaster recovery with minimum latency disruptions for applications.
  • Independent horizontal scalability of storage and compute layers.
  • ACID transactions across multiple nodes and tables with strict consistency.
  • Rich SQL dialect (YQL) for data manipulation and schema definition.
  • PostgreSQL-compatible mode for table operations and Kafka-compatible mode for topics.
  • YDB clusters can be deployed with Ansible, Kubernetes, or manually.

Fault-tolerant Configurations

YDB can be deployed in three availability zones (datacenters). A cluster remains available for both reads and writes during a complete outage of a single zone. Availability zones and regions are covered in more detail in documentation.

Horizontal Scalability

Unlike traditional relational databases, YDB scales out, providing developers with the capability to simply extend clusters with computation or storage resources to handle increasing load. YDB has disaggregated storage and compute layers, which allow you to scale storage and compute resources independently.

Current production installations have over 10000 nodes, store petabytes of data, and handle millions of distributed transactions per second.

Automatic Disaster Recovery

YDB's built-in automatic recovery support allows it to seamlessly survive hardware failures. After unpredictable disk, node, rack, or even datacenter failure, YDB remains fully available for reads and writes and automatically restores required data redundancy.

Multitenant and Serverless Database

YDB supports multitenant and serverless setups. A user can run a YDB cluster and create several databases that share one pool of storage and have different compute nodes. Alternatively, a user can run several serverless databases that share one pool of compute resources to utilize them effectively.

Supported Platforms

Minimal system requirements

YDB runs on x86 64-bit platforms with at least 8 GB of RAM.

Operating Systems

In most production environments, YDB runs on 64-bit x86 machines working under Ubuntu Linux.

For development purposes, it is regularly tested that YDB can be compiled and run under the latest versions of MacOS and Microsoft Windows.

Getting Started

If you want to experiment with YDB, start with the Quick Start guide. It will yield a single-node cluster suitable for functional testing, app development, and similar tasks.

Suppose you want to jump into more serious scenarios like testing YDB fault tolerance, running performance benchmarks, or even running production or preproduction workloads. In that case, you'll need a full-fledged multi-node YDB cluster that can be deployed with either Ansible for bare metal or virtual machines or Kubernetes for containers.

How to Build from Source Code

Instructions on how to build YDB server (ydbd) and client (ydb) binaries are provided in BUILD.md. Also, see documentation on Ya Make build system.

How to Contribute

We are glad to welcome new contributors! The contributor's guide provides more details on how to get started as a contributor.

There's also a separate section of YDB documentation for contributors, mostly with more technical content.

Success Stories

Visit YDB website for the latest success stories and user scenarios.