DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > TiDB

TiDB System Properties

Please select another system to compare it with TiDB.

Our visitors often compare TiDB with CockroachDB, YugabyteDB and ClickHouse.

Editorial information provided by DB-Engines
NameTiDB
DescriptionTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitepingcap.com
Technical documentationdocs.pingcap.com/­tidb/­stable
DeveloperPingCAP, Inc.
Initial release2016
Current release8.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGo, Rust
Server operating systemsLinux
Data schemeyes
Typing infopredefined data types such as float or dateyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.no
Secondary indexesyes
SQL infoSupport of SQLyes
APIs and other access methodsGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresno
Triggersno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID
Concurrency infoSupport for concurrent manipulation of datayes
Durability infoSupport for making data persistentyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlFine grained access rights according to SQL-standard
More information provided by the system vendor
TiDB
Specific characteristics

TiDB is an advanced open-source, distributed SQL database for modern application developmentTiDB 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 database. TiDB’s distributed architecture provides horizontal scalability, high availability, distributed ACID transactions, and MySQL compatibility, while its unique mixed workload processing layer enables real-time analytics. With TiDB's advanced capabilities, growing companies can focus on the future without worrying about complex data infrastructure management or tedious application innovation cycles. TiDB has four deployment options (community, serverless, dedicated, and self-hosted) and an education offering (PingCAP University).

Competitive advantages
- HORIZONTAL SCALING: TiDB grants total transparency into your data workloads without manual sharding.
- HIGH AVAILABILITY: TiDB guarantees auto-failover and self-healing for continuous access to data.
- STRONG CONSISTENCY: TiDB maintains ACID transactions when distributing data globally.
- MIXED WORKLOAD PROCESSING: TiDB's streamlined tech stack makes it easier to produce real-time analytics.
- MYSQL COMPATIBILITY: Enjoy the most MySQL-compatible distributed SQL database on the planet.
- MULTI-CLOUD: With TiDB, you can deploy database clusters anywhere in the world.
- OPEN SOURCE: Unlock business innovation with a database that's 100% open source.
- ROBUST SECURITY: TiDB protects your data with enterprise-grade encryption both in-flight and at-rest.

TiDB's SQL layer separates compute from storage to make scaling simpler, delivering a true cloud-native architecture. Next, the Placement Drive (PD) layer functions just like a full-time DBA, monitoring millions of shards and performing hundreds of operations per minute. Finally, TiDB's storage layer, consisting of row and column-based storage engines, offers built-in high availability and strong consistency that can auto-scale to hundreds of nodes and petabytes of data.

Typical application scenarios

TiDB is ideal for transactional applications that require extreme scalability and reliability.

Common use cases include:

  • System of record (product catalog, financial ledger, transactions, orders)
  • Serving layer for customer-facing applications
  • Single view for real-time operational insights
  • General purpose database
Key customers

Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud & AI (Cloud Computing), Zhihu (Knowledge Sharing), VNG (Mobile Payments), Xiaomi (Consumer Electronics), Jinri Toutiao (Mobile News Platform), Dailymotion (Media and Entertainment), Qunar.com (Travel), YOOZOO GAMES (Gaming), FUNYOURS JAPAN (Gaming), 360 Financial (FinTech) [See Customer Stories]

Market metrics
34K+ GitHub stars
5K+ members in TiDB Community Slack
1K+ community contributors
3K+ production adopters
Licensing and pricing models

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
TiDB
Recent citations in the news

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

Unlocking performance, scalability, and cost-efficiency of Zomato’s Billing Platform by switching from TiDB to DynamoDB
22 December 2023, AWS Blog

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

PingCAP Celebrates Grand Opening of Regional Headquarters in Singapore
8 July 2024, Yahoo Finance

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here