TiDB icon
TiDB icon

TiDB

 Like

TiDB is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It's MySQL compatible and can provide horizontal scalability, strong consistency, and high availability.

License model

  • FreemiumOpen Source

Country of Origin

  • CN flagChina

Platforms

  • Online
  • Self-Hosted
  No rating
0likes
0comments
0news articles

Features

Suggest and vote on features

Properties

  1.  Scalable

Features

  1.  Distributed Database
  2.  Distributed
  3.  Serverless
  4.  Real-time analytics

 Tags

TiDB News & Activities

Highlights All activities

Recent News

No news, maybe you know any news worth sharing?
Share a News Tip

Recent activities

  • App icon
    POX added TiDB as alternative to BemiDB
    7 months ago
  • POX updated TiDB
    8 months ago
Show all activities

TiDB information

  • Developed by

    CN flagPingCAP
  • Licensing

    Open Source (Apache-2.0) and Freemium product.
  • Pricing

    Subscription that costs $0 per month + free version with limited functionality.
  • Written in

  • Alternatives

    11 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  38,573 Stars
  •  5,955 Forks
  •  5073 Open Issues
  •   Updated Jun 13, 2025 
View on GitHub

Our users have written 0 comments and reviews about TiDB, and it has gotten 0 likes

TiDB was added to AlternativeTo by Danilo_Venom on Aug 31, 2023 and this page was last updated Oct 31, 2024.
No comments or reviews, maybe you want to be first?
Post comment/review

What is TiDB?

TiDB is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It's MySQL compatible and can provide horizontal scalability, strong consistency, and high availability. TiDB drew its initial design inspiration from Google's Spanner and F1 papers.

Key features Easy horizontal scaling

The TiDB architecture design separates computing from storage, letting you scale out or scale in the computing or storage capacity online as needed. The scaling process is transparent to application operations and maintenance staff.

Financial-grade high availability

Data is stored in multiple replicas, and the Multi-Raft protocol is used to obtain the transaction log. A transaction can only be committed when data has been successfully written into the majority of replicas. This guarantees strong consistency and availability when a minority of replicas go down. You can configure the geographic location and number of replicas as needed to meet different disaster tolerance levels.

Real-time HTAP

TiDB provides two storage engines: TiKV, a row-based storage engine, and TiFlash, a columnar storage engine. TiFlash uses the Multi-Raft Learner protocol to replicate data from TiKV in real time, ensuring consistent data between the TiKV row-based storage engine and the TiFlash columnar storage engine. TiKV and TiFlash can be deployed on different machines as needed to solve the problem of HTAP resource isolation.

Cloud-native distributed database

TiDB is a distributed database designed for the cloud, providing flexible scalability, reliability, and security on the cloud platform. Users can elastically scale TiDB to meet the requirements of their changing workloads. In TiDB, each piece of data has at least 3 replicas, which can be scheduled in different cloud availability zones to tolerate the outage of a whole data center. TiDB Operator helps manage TiDB on Kubernetes and automates tasks related to operating the TiDB cluster, making TiDB easier to deploy on any cloud that provides managed Kubernetes. TiDB Cloud, the fully-managed TiDB service, is the easiest, most economical, and most resilient way to unlock the full power of TiDB in the cloud, allowing you to deploy and run TiDB clusters with just a few clicks.

Compatible with the MySQL 5.7 protocol and MySQL ecosystem

TiDB is compatible with the MySQL 5.7 protocol, common features of MySQL, and the MySQL ecosystem. To migrate applications to TiDB, you do not need to change a single line of code in many cases, or only need to modify a small amount of code. In addition, TiDB provides a series of data migration tools to help easily migrate application data into TiDB.

TiDB Videos

Official Links