# ydb-platform/ydb

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

Repository: https://github.com/ydb-platform/ydb
Canonical: https://ross.abutalabs.com/products/ydb
Homepage: https://ydb.tech
Language: C++
License: Apache-2.0
License Family: permissive
Topics: database, distributed, sql, dbms, cloud-native, cpp, distributed-database, distributed-sql, distributed-sql-database
Last push: 2026-08-26T22:15:21+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 1668, "days_push": 7, "days_rel": 29, "gap_med": 22.5, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4770, forks 812 (observed 2026-08-28T04:08:59.389277+00:00)

## What it is
YDB is an open-source distributed SQL DBMS written in C++ that combines horizontal scalability, high availability, and strict consistency with ACID transactions across nodes. It supports row-oriented and column-oriented tables, persistent topics (Kafka-compatible), vector search, federated queries, and a PostgreSQL-compatible mode, deployable via Ansible, Kubernetes, or manually.

## Use cases
- run a horizontally scalable SQL database with ACID transactions across multiple nodes
- build a fault-tolerant OLTP service that survives datacenter outages
- run transactional and analytical (HTAP) workloads on row and columnar tables
- store and query vector embeddings for semantic search or RAG pipelines
- stream table changes to downstream systems via change data capture
- query external data sources with federated SQL queries
- connect from LLM agents to the database via MCP

## When to choose
- you need strict consistency and distributed ACID transactions at scale
- you want one database for OLTP, OLAP, and streaming workloads
- you need multi-datacenter fault tolerance with automatic disaster recovery
- you want vector search integrated into a transactional SQL database
- you need PostgreSQL or Kafka wire compatibility for easier migration

## When to avoid
- you need a simple single-node embedded database for a small app
- your team cannot operate a complex distributed cluster
- you depend on a rich ecosystem of third-party tools built for mainstream databases
- you need mature support on non-x86_64 platforms

## Facets
- artifact type: application
- maturity: stable
- function: database, vector-database, search-engine, streaming
- domain: databases, microservices, big-data, analytics, cloud-computing, self-hosted
- platform: self-hosted, cloud, cpp
- tags: distributed-sql, acid-transactions, oltp, olap, columnar-storage, yql, postgresql-compatible, kafka-compatible, change-data-capture, vector-search, mcp-server, fault-tolerant, sql, linux, docker, kubernetes

## Member repositories
- ydb-platform/ydb (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:59.389277+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:48.540938+00:00, confidence not recorded.
  - readme: https://github.com/ydb-platform/ydb (fetched 2026-08-28T04:08:59.389277+00:00, sha e09488e3a229)
  - homepage: https://ydb.tech (fetched 2026-08-29T09:02:21.678706+00:00, sha df54bc38f7a4)
  - site_page: https://ydb.tech/docs/en (fetched 2026-08-29T09:02:21.681383+00:00, sha ab22e1d4a205)
  - site_page: https://ydb.tech/docs/en/downloads (fetched 2026-08-29T09:02:21.683229+00:00, sha 74b0ba483540)
  - site_page: https://ydb.tech/docs/en/quickstart (fetched 2026-08-29T09:02:21.685266+00:00, sha 9ed1a5c2f6e3)
  - site_page: https://ydb.tech/docs/en/concepts/query_execution/vector_search (fetched 2026-08-29T09:02:21.687567+00:00, sha 94f8dbfe761a)
  - site_page: https://ydb.tech/docs/en/reference/languages-and-apis/mcp (fetched 2026-08-29T09:02:21.689170+00:00, sha b5e0d62e08ad)
  - site_page: https://ydb.tech/docs/ru/yql/reference (fetched 2026-08-29T09:02:21.690870+00:00, sha 3d49b9176a43)
  - site_page: https://ydb.tech/docs/en/concepts/transactions (fetched 2026-08-29T09:02:21.693120+00:00, sha 7c1dfd24a40c)
  - site_page: https://ydb.tech/docs/en/concepts (fetched 2026-08-29T09:02:21.696507+00:00, sha 599ba19cbeca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
