YDB
YDB server (daemon) source code. Contribute to chenxiaohui/ydb development by creating an account on GitHub.
README
<img width="64" src="ydb/docs/_assets/logo.svg"/><br/>
YDB
Website | Documentation | Official Repository | YouTube Channel
YDB is an open-source Distributed SQL Database that combines high availability and scalability with strict consistency and ACID transactions.
Main YDB Advantages
YDB is designed from scratch as a response to growing demand for scalable interactive web services. Scalability, strict consistency and effective cross-row transactions were a must for such OLTP-like workload. YDB is built by people with strong background in databases and distributed systems, who had an experience of developing No-SQL database and the Map-Reduce system for one of the largest search engines in the world. We found that YDB's flexible design allows us to build more services on top of it including persistent queues and virtual block devices.
Basic YDB features:
- Fault-tolerant configuration that survive disk, node, rack or even datacenter outage;
- Horizontal scalability;
- Automatic disaster recovery with minimum latency disruptions for applications;
- SQL dialect (YQL) for data manipulation and scheme definition;
- ACID transactions across multiple nodes and tables with strict consistency.
Fault-tolerant Configurations
YDB could be deployed in three availability zones. Cluster remains available for both reads and writes during 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 capability to simply extend cluster with computation or storage resources to handle increasing load. YDB has desaggregated storage and compute layers which allow you to scale storage and compute resources independently.
Current production installations have more than 10,000 nodes, store petabytes of data and handle millions distributed transactions per second.
Automatic Disaster Recovery
YDB has built-in automatic recovery support to survive a hardware failure. After unpredictable disk, node, rack or even datacenter failure YDB remains fully available for reads and writes and restores required data redundancy automatically.
Multitenant and Serverless Database
YDB has support for 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 64bit platforms with minimum 8 GB of RAM.
Operating Systems
We have major experience running production systems on 64-bit x86 machines working under Ubuntu Linux.
For development purposes we test that YDB could be built and run under latest versions of MacOS and Microsoft Windows on a regular basis.
Getting Started
- Install YDB using pre-built executables, build it from source or use Docker container.
- Install command line interace tool to work with scheme and run queries.
- Start local cluster or container and run YQL query via YDB CLI.
- Access Embedded UI via browser for schema navigation, query execution and other database development related tasks.
- Run available example application.
- Develop an application using YDB SDK.
How to Build from Source Code
- Build server (ydbd) and client (ydb) binaries from source code.
How to Deploy
- Deploy a cluster using Kubernetes.
- Deploy a cluster using pre-built executables.
How to Contribute
We are glad to welcome new contributors!
- Please read contributor's guide.
- We can accept your work to YDB after you have read contributor's license agreement (aka CLA).
- Please don't forget to add a note to your pull request, that you agree to the terms of the CLA.
More information can be found in CONTRIBUTING file.
Success Stories
Take a look at YDB web site for the latest success stories and user scenarios.
推荐服务器

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
AIO-MCP Server
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from
Hyperbrowser
欢迎来到 Hyperbrowser,人工智能的互联网。Hyperbrowser 是下一代平台,旨在增强人工智能代理的能力,并实现轻松、可扩展的浏览器自动化。它专为人工智能开发者打造,消除了本地基础设施和性能瓶颈带来的麻烦,让您能够:
Exa MCP Server
一个模型上下文协议服务器,它使像 Claude 这样的人工智能助手能够以安全和受控的方式,使用 Exa AI 搜索 API 执行实时网络搜索。
BigQuery MCP Server
这是一个服务器,可以让你的大型语言模型(LLM,比如Claude)直接与你的BigQuery数据对话!可以把它想象成一个友好的翻译器,它位于你的AI助手和数据库之间,确保它们可以安全高效地进行交流。
mcp-perplexity
Perplexity API 的 MCP 服务器。
MCP Web Research Server
一个模型上下文协议服务器,使 Claude 能够通过集成 Google 搜索、提取网页内容和捕获屏幕截图来进行网络研究。
MySQL MCP Server
允许人工智能助手通过受控界面列出表格、读取数据和执行 SQL 查询,从而使数据库探索和分析更安全、更有条理。