An open-source, cloud-native, distributed SQL database for elastic scale and real-time analytics
Trusted and Verified by Innovation Leaders
Open-source under Apache 2,
Supported by a wealth of open-source data migration tools in the ecosystem, TiDB gives you the freedom to choose your own vendor and avoid lock-in.
Scale-out Relational Database
Purposely built to deliver SQL at scale, TiDB eliminates the scaling problems of traditional relational databases without intrusion to your application.
HTAP database platform that enables real-time situation awareness and decision making on live transactional data and eliminates friction between IT and business goals.
The Benefits of Distributed SQL
SQL at Scale
TiDB is ACID-compliant and strongly consistent. You can use TiDB as a scale-out MySQL database with familiar SQL syntaxes and ecosystem tools.See how others succeed
TiDB automatically shards your data so you don’t have to do it manually. You can simply add new nodes to scale horizontally and elastically to meet your business growth.See how your data is distributed
Simplicity and Safety
TiDB simplifies the ETL process and automatically recovers from errors. You can focus on your business and stop worrying about your database infrastructure.See how others succeed
Better Insights with Timely Data
TiDB supports real-time analytics. By breaking the wall between OLTP and OLAP, it makes your applications adaptive to transient business opportunities.See how others succeed
Ready to get started with TiDB?
Horizontally-scalable Relational Database
Scalable online transactional processing
- 400+ TB of transactional production data in a single TiDB cluster
- Trillions of rows in a single distributed table
Hybrid Transactional and Analytical Processing
- Millisecond response times over trillions of rows
- No wall between transactional data and analytical reporting
Learn More in Engineering Blogs
tidb-lite: A go-sqlmock Alternative for Easily Unit Testing Golang Database-Related Code
By Xiang Wang
If your Golang app uses a MySQL-compatible database, you will have a lot of database-related code to unit test. Unlike go-sqlmock, tidb-lite lets you test your code easily without the need to start a database instance in the external environment.
TiGraph: 8,700x Computing Performance Achieved by Combining Graphs + the RDBMS Syntax
By Heng Long
TiGraph can manipulate graph data and relational data in one transaction while guaranteeing strong consistency. It boosts TiDB's computing performance by 8,700x in four-degree separation.