DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > TiDB

TiDB System Properties

Please select another system to compare it with TiDB.

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

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
Score3.53
Rank#105  Overall
#51  Relational DBMS
Websitepingcap.com
Technical documentationdocs.pingcap.com/­tidb/­stable
DeveloperPingCAP, Inc.
Initial release2016
Current release7.0.0, March 2023
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 open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional and Analytical Processing (HTAP) workloads and is suitable for various use cases that require high availability and strong consistency with large-scale data.

TiDB Specific Characteristics:

  1. Horizontal scalability
  2. High Availability
  3. Real-time HTAP
  4. MySQL Compatible Syntax
  5. Distributed Transactions with Strong Consistency
  6. Cloud native
  7. Minimize ETL
Competitive advantages

In the current database landscape, infrastructure engineers often have to use one database for online transactional processing (OLTP) and another for online analytical processing (OLAP). Seeing no good solution that can do both in real-time, PingCAP cofounders decided to build a globally scalable Hybrid Transactional/Analytical Processing (HTAP) database the open-source way.

Now, a new storage component that’s columnar-based, called TiFlash (currently in beta) is being introduced, that sits alongside TiKV.

TiDB aims to break down this separation by building an HTAP database that enables real-time business analysis based on live transactional data. With TiDB, engineers can now spend less time managing multiple database solutions, and more time delivering business value for their companies and customers.

Typical application scenarios

TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB, the stateless SQL layer compatible with MySQL, for OLTP and ad-hoc OLAP workload, and TiSpark, the TiDB connector for Spark, to process complex OLAP queries.

Use Case Scenarios:

  1. Amount of data is too large for a standalone database
  2. Don't want to use manual sharding solutions
  3. Access mode has no obvious hotspot
  4. Must have transactions, strong consistency, and disaster recovery

For more information, see best scenarios for TiDB.

Key customers
  • Shopee (E-commerce)
  • BookMyShow.com (E-commerce)
  • Yiguo.com (E-commerce)
  • JD Cloud & AI (Cloud Computing)
  • Zhihu (Knowledge sharing)
  • VNG (Mobile payment)
  • Xiaomi (Consumer Electronics)
  • Bank of Beijing (Banking)
  • Mobike (Ridesharing)
  • Jinri Toutiao (Mobile news platform)
  • Dailymotion (Media and Entertainment)
  • iQiyi (Media and Entertainment)
  • Qunar.com (Travel)
  • GAEA (Gaming)
  • YOOZOO GAMES (Gaming) 
  • FUNYOURS JAPAN (Gaming) 
  • 360 Financial (FinTech)

See more TiDB case studies.

Market metrics
  • 25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV
  • 1.6K+ members in TiDB Community Slack, and 700+ members in TiKV Community Slack
  • 1K+ community contributors 
  • 1K+ production adopters
Licensing and pricing models

Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service subscription model.

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

PingCAP Unveils TiDB 7.1, the Latest Advancement In Open Source ...
5 June 2023, GlobeNewswire

PingCAP’s Innovative TiDB Database – Techstrong.TV
20 October 2022, DevOps.com

PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
1 November 2022, GlobeNewswire

Raft Native: The Foundation for Streaming Data's Best Future
30 May 2023, The New Stack

Apache Druid, TiDB, ClickHouse, or Apache Doris? A Comparison ...
27 March 2023, hackernoon.com

provided by Google News

Job opportunities

Sales Development Representative (SDR)
PingCAP, San Francisco Bay Area, CA

Sales Account Executive Bay Area - Remote
PingCAP, San Francisco Bay Area, CA

Staff Software Engineer, Ads Infra
Pinterest, Remote

Fault Isolation Engineering Technician - Fleet Documentation
BAE Systems, Rockville, MD

Electrical/Electronic Engineering Technician
BAE Systems, Rockville, MD

jobs by Indeed



Share this page

Featured Products

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

The world’s most loved real‑time data platform.
Try free

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here