YDB is an AI-driven distributed SQL database management system (DBMS) designed to unify transactional, analytical, federated, and streaming workloads while providing strict consistency and high availability, and integrating AI capabilities directly for developers.
Purpose and positioning: YDB targets scenarios that need to handle OLTP and OLAP workloads, streaming data processing, and AI-related queries simultaneously, and can be used as an enterprise-grade distributed database.
Key capabilities:
- AI capabilities: Provides native vector indexes with support for approximate k-nearest neighbor queries, usable for building semantic search, recommendation, and RAG pipelines, without memory limitations and scalable to billions of embeddings. Supports querying structured or JSON data using a familiar SQL dialect, and can also delegate queries to LLMs via the Model Context Protocol (MCP). A built-in AI assistant provides context-aware suggestions for cluster management and queries.
- Transactional workloads: Supports global ACID transactions and strong consistency, avoiding inconsistency, lost updates, or stale reads. Supports online addition and removal of nodes, with automatic data sharding and transparent rebalancing, and independent scaling of compute and storage. Provides change data capture (CDC) to subscribe to real-time streams of row table updates.
- Real-time analytics: Columnar storage provides fast analytics on fresh data, with the same transaction and consistency levels as row tables. The MPP vectorized query engine uses an advanced distributed execution planner and optimizer to scale analytical workloads to the PB level. Supports federated queries, enabling data retrieval from multiple external sources within a single YDB query, and replication into YDB storage or on-the-fly processing.
- Streaming: YDB Topics provides Kafka API 3.4.0-compatible persistent queues with exactly-once delivery and automatic partitioning, allowing reuse of existing Kafka clients and tools or development with native YDB SDKs. The unified architecture supports transactional data movement between topics and tables in any direction, and supports topic-to-table data ingestion, enabling long-term storage without external tools.
- Enterprise-grade features: Provides enterprise-grade security features to help meet compliance requirements such as PCI-DSS, SOC 2, and ISO 27001. Supports multiple deployment options: on-premises and virtual machine environments can be deployed via Ansible, and cloud environments can also use Kubernetes. Supports running multiple isolated databases in a single cluster sharing the storage layer, as well as managing resource allocation for workloads of the same database. Integrates with enterprise observability software via standard protocols such as Prometheus and OpenTelemetry, backups are typically performed to S3-compatible object storage or any file system.
- Cluster topology: Supports three availability zones (highest fault tolerance, availability up to 99.99%, with data still readable and writable even if one availability zone and one server rack in another availability zone are simultaneously completely unavailable), two availability zones (reliable data access when a third availability zone is not feasible), and single availability zone (erasure coding achieves the same fault tolerance as three replicas using only half the disk space, avoiding cross-data-center traffic for lowest latency, suitable for functional testing and prototyping).
Usage: YDB provides complete source code, open-sourced on GitHub under the Apache 2.0 license, with community support, and can be self-hosted anywhere. The Enterprise edition provides enhanced security, compliance, and 24×7 SLA support. The managed service runs on Yandex Cloud infrastructure, offering serverless and dedicated deployment options.
Applicable scenarios: Distributed transactional systems requiring strong consistency, real-time analytics, streaming data processing, AI semantic search and recommendation, RAG pipelines, federated queries, etc.
Limitations: The materials do not provide specific pricing, detailed performance figures, a list of supported programming languages, etc., which are not yet available.