TiDB is a cloud-native distributed SQL database aimed at high availability, elastic scaling, and strong consistency, with support for transactions, analytics, and vector search.
Overview
TiDB is an open-source, cloud-native, distributed SQL database built for high availability, horizontal and vertical scalability, strong consistency, and high performance.
It is positioned for agentic and AI-heavy workloads, combining transactions, analytics, and vector search in one engine with ACID guarantees. SQL can join agent task data with vector similarity queries and update agent state with compare-and-swap semantics across distributed nodes.
The product emphasizes MySQL-compatible tooling and syntax, online schema changes, and integrations such as MCP, pytidb, LangChain, and LlamaIndex for application development. Tenant-scoped separation and dedicated throughput support running many concurrent agents.
Users can start a TiDB cluster via a quick-start flow, while TiDB Cloud is a managed hosting option with autoscaling, branching, and combined compute and storage scaling. Deployments have migrated from MySQL, PostgreSQL, Aurora, and separate vector or object stores onto TiDB or TiDB Cloud.
Architecture details are covered in separate documentation, and contribution paths are open for documentation, bug fixes, and feature work.
Key features
- Distributed SQL storage
- Horizontal and vertical scaling
- High availability design
- MySQL-compatible access
- HTAP-style analytics
- Vector search in SQL
- ACID transactions
- Online schema changes
Use cases
- Agent state and memory storage
- Unified transactional and vector queries
- Scaling MySQL-style workloads
- Multi-tenant SaaS data layers
- Consolidating separate data stores
Does the same job as
TiDB doesn't name these products itself, but its own description shows it does the same job.