34K+ GitHub Stars

3K+ Adopters
1K+ Contributors
5K+ Slack Users

Relational Databases Redefined

TiDB powers business-critical transactional applications with a streamlined tech stack, elastic scaling, real-time analytics, and continuous access to data—all in a single distributed SQL database. 
icon-reduce-cost-180x120-1

Reduce Cost

icon-accelerate-productivity-180x120-1

Accelerate Productivity

icon-arches-180x120-1

Lower Risk

icon-compass-180x120-1

Increase Innovation

What Makes TiDB So Advanced?

TiDB’s distributed architecture provides horizontal scalability, high availability, ACID transactions, and MySQL compatibility, while its unique mixed workload processing layer enables real-time analytics.
PD
PD
PD
PD cluster
The Placement Driver (PD) Layer is the “brain” of the entire TiDB cluster as it not only stores cluster metadata, but also sends data scheduling commands to specific storage nodes according to the data distribution state.
TSO/Data location
Metadata
Application via
MySQL protocol
TiDB
TiDB
TiDB
TiDB
. . .
TiDB cluster
The TiDB SQL Layer exposes the connection endpoint of the MySQL protocol to the outside world. This layer receives SQL requests, performs SQL parsing and optimization, and ultimately generates a distributed execution plan.
DistSQL
API
KV API
TiKV
TiKV
TiKV
TiKV
TiKV
TiKV
TiKV
TiKV
TiKV
TiFlash
TiFlash
TiFlash
. . .
Storage cluster
Consisting of row (TiKV) and column-based (TiFlash) storage servers, the TiDB Storage Layer provides key-value storage that supports distributed transactions and Snapshot Isolation by default.

The Advantages of Adopting TiDB

With TiDB’s advanced capabilities, growing companies can focus on building applications for the future without worrying about complex data infrastructure management.
Layer_1-8

Horizontal Scaling

Grants total transparency into data workloads without manual sharding.

Layer_1-7-2

High Availability

Guarantees auto-failover and self-healing for continuous access to data.

Layer_1-2-1

Geo-Distribution

Maintains ACID transactions when distributing data globally.

Layer_1-8-1

Mixed Workloads

Streamlined tech stack makes it easier to produce real-time analytics.

Layer_1-9

MySQL Compatibility

Enjoy the most MySQL compatible distributed SQL database on the planet.

Layer_1-10

Multi-Cloud

Deploy database clusters anywhere in the world.

Layer_1-11

Open Source

Unlock business innovation with a database that’s 100% open source.

Layer_1-5-2

Robust Security

Protect data with enterprise-grade encryption both in-flight and at-rest. 

Top Use Cases for TiDB

illus-mysql-replacement

MySQL Alternative

Migrate to a more affordable and elastic MySQL alternative that supports real-time analytics right out of the box.

illus-turbine-engine

Application Modernization

Boost developer productivity with a modern, distributed SQL database that offers true elastic scale and relentless reliability combined with mixed workload processing.

illus-real-time-analytics-1

Real-Time Analytics

Enable your business to process and query new data as it’s created to guide decision making, enhance resource utilization, and improve customer experiences.

illus-nosql-replacement-1

NoSQL Replacement

Scale your modern applications with better performance and consistency—all without worrying about the limitations that come with NoSQL databases.

illus-single-view-1

Single View

Extract the value of your data across multiple businesses for all real-time applications while ensuring strong consistency.

illus-data-mgmt-2

Operational Data Management

Deliver smooth database operations with zero downtime for schema changes, hardware failure, or upgrades.

illus-tech-stack-unification

Tech Stack Unification

Reduce costs and system complexity with a unified data stack that can replace traditional relational databases, NoSQL databases, and lightweight data warehouses.

Deploy TiDB Your Way

Choose the product that best meets your business goals. You can select a fully-managed DBaaS or self-managed offering of TiDB to simplify management and deployment at scale.

TiDB Serverless (Beta)

Great for starter projects and evaluation

  • Fully-managed cloud service
  • Auto-scaling
  • Consumption-based pricing

Get Started

TiDB Dedicated

Ideal deployment for a cloud database

  • Fully-managed cloud service
  • Storage and compute-based pricing
  • Can run on AWS or GCP

Get Started

TiDB Self-Hosted

For teams who need to use their own infrastructure

  • Enterprise subscription available
  • Self-managed TiDB clusters
  • Can run in any cloud or on-prem

Contact Us

Discover More

Learn how to modernize your database with TiDB.
Access tutorials, guides, example applications, and much more.
Read
Peer under the hood and discover how TiDB works.
Learn
Read how companies support their most important workloads.
TiDB in Action

TiDB Cloud is a fully-managed, reserved, DBaaS offering of TiDB with zero operational overhead and true, pay-as-you-go pricing.

 
Learn More