YDB (database)
YDB (Yet another DataBase) is a distributed SQL database management system (DBMS) developed by Yandex, available as open-source technology.
YDB (Yet another DataBase) is a distributed SQL database management system (DBMS) developed by Yandex, available as open-source technology. ==Functionality== YDB is a technology that allows creating large web services capable of supporting large operational loads of up to millions requests per second. It uses a strongly typed dialect of SQL — YDB Query Language (YQL) as a default query language and supports ACID transactions. The closest analogues of this DBMS available as open-source software are YugabyteDB and CockroachDB. YDB can be either self-deployed to computer clusters across physical hosts or on virtual machines via Kubernetes or as a managed service in Yandex Cloud. Serverless computing mode or dedicated mode are available for the managed service option. ==Architecture== YDB works on clusters with shared-nothing architecture and uses standard commodity hardware. The system is based on tablets which implement a communication protocol for solving consensus in a network of unreliable processors. Functionally, this protocol is similar to Paxos and Raft. User tablets in YDB have a mandatory primary key and are sharded by its ranges. Shards with user data are controlled by tablets, called DataShards. The size of a DataShard can reach several gigabytes. It can automatically split into multiple tablets when data storage threshold or shard load threshold is exceeded. This is how the system scales transparently based on the user load. In addition to DataShard, other tablet types include, among others: SchemeShard, which stores metadata about user tables; Hive, which balances and launches tablets; Coordinator and Mediator, which schedule distributed transactions. Data from tablets is stored in the Distributed Storage layer which is a key-value storage with a specialized protocol to support the tablet protocol. Distributed Storage ensures data replication, while data from tablets is stored as BLOBs. YDB executes distributed transactions between data from one or more tables using a distributed transaction framework based on the Calvin algorithm. Unlike Calvin, YDB supports interactive and non-deterministic transactions by using record locking. YDB is based on the actor model. Actors are single-threaded back-end automats that exchange messages with each other while residing on different cluster servers. Messages within the network are exchanged using the interconnect library developed as part of the project. A number of digital services, such as virtual block devices or persistent queues, have been developed as a layer over YDB. YDB supports user interaction via the gRPC protocol with several client SDKs implementing procedures for node discovery, client balancing, etc. YDB does not support UUID as standalone data type. It doesn't have a built-in function to automatically increment field value when adding data to a table. ==History== In 2010, Yandex started working on its own NoSQL DBMS KiWi and rolled it out for internal use in 2011. However, KiWi had eventual consistency, as well as other disadvantages of the NoSQL model. In 2012, to cover its needs for DBMS, Yandex starts the KiKiMR project, which later becomes known as YDB. In 2016, YDB was rolled out to Yandex services. In 2018, the Yandex Cloud platform was launched with data storage based on YDB. At the same time, the company announced that in the future it would make YDB available as a managed service in Yandex Cloud, and later provided customers with access to this service, as well as other managed services, such as PostgreSQL, MongoDB and others. This cloud version was called Yandex Database (Managed service for YDB, later). In April 2022, the YDB DBMS was published on GitHub as free software under the Apache 2.0 License. ==References== ==External links==
References
- Releasev24.3.15.5 · retrieved 2026-11-18 · rev 1377075840
Cite this reference
MLA "Releasev24.3.15.5." "Releasev24. 2026-11-18. https://github.com/ydb-platform/ydb/releases/tag/24.3.15.5. Accessed 24 November 2026.
Chicago "Releasev24.3.15.5." "Releasev24. 2026-11-18. https://github.com/ydb-platform/ydb/releases/tag/24.3.15.5.
APA "Releasev24. (2026). Releasev24.3.15.5. Retrieved November 24, 2026, from https://github.com/ydb-platform/ydb/releases/tag/24.3.15.5
- Как писать меньше кода для MR, или Зачем миру ещё один язык запросов? История Yandex Query Language · retrieved 2022-06-30 · rev 1377075840
Cite this reference
MLA "Как писать меньше кода для MR, или Зачем миру ещё один язык запросов? История Yandex Query Language." 2022-06-30. https://habr.com/ru/company/yandex/blog/312430/. Accessed 24 November 2026.
Chicago "Как писать меньше кода для MR, или Зачем миру ещё один язык запросов? История Yandex Query Language." 2022-06-30. https://habr.com/ru/company/yandex/blog/312430/.
APA encyclopegia.org. (2022). Как писать меньше кода для MR, или Зачем миру ещё один язык запросов? История Yandex Query Language. Retrieved November 24, 2026, from https://habr.com/ru/company/yandex/blog/312430/
- Calvin: Fast Distributed Transactions for Partitioned Database Systems · retrieved 2022-07-03 · rev 1377075840
Cite this reference
MLA "Calvin: Fast Distributed Transactions for Partitioned Database Systems." "Calvin: Fast Distributed Transactions for Partitioned Database Systems" (PDF). 2022-07-03. http://cs.yale.edu/homes/thomson/publications/calvin-sigmod12.pdf. Accessed 24 November 2026.
Chicago "Calvin: Fast Distributed Transactions for Partitioned Database Systems." "Calvin: Fast Distributed Transactions for Partitioned Database Systems" (PDF). 2022-07-03. http://cs.yale.edu/homes/thomson/publications/calvin-sigmod12.pdf.
APA "Calvin: Fast Distributed Transactions for Partitioned Database Systems" (PDF). (2022). Calvin: Fast Distributed Transactions for Partitioned Database Systems. Retrieved November 24, 2026, from http://cs.yale.edu/homes/thomson/publications/calvin-sigmod12.pdf
- Автоинкремент в Yandex Database · retrieved 2022-07-03 · rev 1377075840
Cite this reference
MLA "Автоинкремент в Yandex Database." 2022-07-03. https://nikolaymatrosov.medium.com/%D0%B0%D0%B2%D1%82%D0%BE%D0%B8%D0%BD%D0%BA%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D1%82-%D0%B2-yandex-datadase-d9933ec0b1be. Accessed 24 November 2026.
Chicago "Автоинкремент в Yandex Database." 2022-07-03. https://nikolaymatrosov.medium.com/%D0%B0%D0%B2%D1%82%D0%BE%D0%B8%D0%BD%D0%BA%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D1%82-%D0%B2-yandex-datadase-d9933ec0b1be.
APA encyclopegia.org. (2022). Автоинкремент в Yandex Database. Retrieved November 24, 2026, from https://nikolaymatrosov.medium.com/%D0%B0%D0%B2%D1%82%D0%BE%D0%B8%D0%BD%D0%BA%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D1%82-%D0%B2-yandex-datadase-d9933ec0b1be
- 001. Яндекс Облако: обзор платформы – Ян Лещинский · retrieved 2022-07-03 · rev 1377075840
Cite this reference
MLA "001. Яндекс Облако: обзор платформы – Ян Лещинский." 2022-07-03. https://www.youtube.com/watch?v=H2QsgxH3PVY. Accessed 24 November 2026.
Chicago "001. Яндекс Облако: обзор платформы – Ян Лещинский." 2022-07-03. https://www.youtube.com/watch?v=H2QsgxH3PVY.
APA encyclopegia.org. (2022). 001. Яндекс Облако: обзор платформы – Ян Лещинский. Retrieved November 24, 2026, from https://www.youtube.com/watch?v=H2QsgxH3PVY
- about:cloud · retrieved 2022-07-03 · rev 1377075840
Cite this reference
MLA "about:cloud." 2022-07-03. https://www.youtube.com/watch?v=Kr6WIYPts8I. Accessed 24 November 2026.
Chicago "about:cloud." 2022-07-03. https://www.youtube.com/watch?v=Kr6WIYPts8I.
APA encyclopegia.org. (2022). about:cloud. Retrieved November 24, 2026, from https://www.youtube.com/watch?v=Kr6WIYPts8I
- YDB Is Now Available as Open-Source Project · retrieved 2022-06-30 · rev 1377075840
Cite this reference
MLA "YDB Is Now Available as Open-Source Project." a b c "YDB Is Now Available as Open-Source Project". 2022-06-30. https://medium.com/yandex/ydb-is-now-available-as-open-source-project-f776b16517ce. Accessed 24 November 2026.
Chicago "YDB Is Now Available as Open-Source Project." a b c "YDB Is Now Available as Open-Source Project". 2022-06-30. https://medium.com/yandex/ydb-is-now-available-as-open-source-project-f776b16517ce.
APA a b c "YDB Is Now Available as Open-Source Project". (2022). YDB Is Now Available as Open-Source Project. Retrieved November 24, 2026, from https://medium.com/yandex/ydb-is-now-available-as-open-source-project-f776b16517ce
- Бессерверная альтернатива традиционным базам данных · retrieved 2022-06-30 · rev 1377075840
Cite this reference
MLA "Бессерверная альтернатива традиционным базам данных." a b c "Бессерверная альтернатива традиционным базам данных". 2022-06-30. https://www.osp.ru/os/2021/01/13055826. Accessed 24 November 2026.
Chicago "Бессерверная альтернатива традиционным базам данных." a b c "Бессерверная альтернатива традиционным базам данных". 2022-06-30. https://www.osp.ru/os/2021/01/13055826.
APA a b c "Бессерверная альтернатива традиционным базам данных". (2022). Бессерверная альтернатива традиционным базам данных. Retrieved November 24, 2026, from https://www.osp.ru/os/2021/01/13055826
Cite this article
MLA
"YDB (database)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ydb-database. Accessed 24 November 2026.
Chicago
"YDB (database)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ydb-database.
APA
encyclopegia.org. (2026). YDB (database). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ydb-database
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON