TiDB is a distributed SQL database that handles both transactional and analytical workloads simultaneously. It’s fully compatible with MySQL 8.0 protocols, so you can connect with any MySQL driver or ORM without changing your application code.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pingcap/tidb/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Deploy a local TiDB cluster and run your first queries in minutes.
Architecture
Understand how TiDB’s distributed components work together.
SQL Reference
Explore TiDB’s SQL capabilities, DDL, DML, and advanced features.
HTTP API
Use the TiDB HTTP API for monitoring and administration.
Why TiDB?
Distributed Transactions
ACID-compliant distributed transactions spanning multiple nodes with two-phase commit.
HTAP
Run transactional and analytical queries on the same dataset with no ETL.
High Availability
Raft consensus protocol with automated failover and geographic redundancy.
MySQL Compatible
Connect with any MySQL 8.0 driver, ORM, or tool — no code changes required.
Get Up and Running
Deployment Options
Local Playground
Single-node cluster for development and testing.
Kubernetes
Production-grade deployment with TiDB Operator.
Configuration
Tune TiDB for your workload requirements.
TiDB is fully open source under the Apache 2.0 license. All enterprise-grade features are included in the open source distribution.