TiDB
A distributed, open-source SQL database for modern applications, offering HTAP and vector support.
Compatibility
MySQL Wire Protocol
Architecture
Distributed SQL (NewSQL)
Primary Workload
HTAP (Hybrid Transactional/Analytical)
License
Apache 2.0
About TiDB
TiDB, developed by PingCAP, is an open-source, distributed NewSQL database designed for elastic scale, high availability, and strong consistency. It is uniquely built to handle Hybrid Transactional and Analytical Processing (HTAP) workloads, enabling real-time analytics on live transactional data. TiDB is wire-compatible with the MySQL protocol, allowing for easy migration of existing applications. Its architecture separates computing (TiDB servers) from storage (TiKV nodes), enabling independent scaling of resources. Recently, TiDB has added vector search capabilities, positioning it as a comprehensive database solution for modern AI applications that require transactional, analytical, and vector processing in one place.
Core Features
Horizontal Scalability
Scale-out compute and storage on demand by adding new nodes.
Htap
Supports both online transactional processing (OLTP) and online analytical processing (OLAP) in a single database.
Mysql Compatibility
Acts as a drop-in replacement for MySQL in many cases, supporting its protocol and syntax.
Acid Transactions
Provides strong data consistency with fully ACID-compliant transactions.
Vector Search
Built-in support for vector embeddings and similarity search for AI applications.
Platform Offerings
Tidb Self-Hosted
Open-source version for deployment on your own infrastructure or private cloud.
Tidb Cloud
A fully-managed Database-as-a-Service (DBaaS) offering with a serverless, free tier.
Tidb Operator
Manages TiDB clusters on Kubernetes, automating tasks like deployment, scaling, and backups.