DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
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 ClickHouse, CockroachDB and Snowflake.

Editorial information provided by DB-Engines
NameTiDB
DescriptionTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.54
Rank#93  Overall
#49  Relational DBMS
Websitepingcap.com
Technical documentationdocs.pingcap.com/­tidb/­stable
DeveloperPingCAP, Inc.
Initial release2016
Current release5.0.1, April 2021
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 methodsJDBC
ODBC
Proprietary protocol
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 integrityno infocurrently only supported in syntax
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 controlUsers with fine-grained authorization concept. No user groups or roles.
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.

News

TiDB Operator Source Code Reading (V): Backup and Restore
14 December 2021

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development
9 December 2021

TiDB 5.3: Delivering Enhancements for Data Intensive Applications
7 December 2021

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 2021

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 brings TiDB distributed SQL HTAP database to cloud
11 May 2022, TechTarget

Raft Engine: a Log-Structured Embedded Storage Engine for Multi-Raft Logs in TiKV
12 May 2022, InfoQ.com

Takuya Hirano Joins PingCAP as an Executive Advisor
19 May 2022, PR Newswire

PingCAP Enhances Support for Data Intensive Applications with TiDB 5.3
7 December 2021, PR Newswire

PingCap TiDB 5.3 Supports Both High Volume Transaction Processing and Real-Time Analytics
4 January 2022, Database Trends and Applications

provided by Google News

Job opportunities

Sales Account Executive- Remote
PingCAP, Remote

Software Engineer - Availability, Cash App
Cash App, New York, NY

Software Engineer - Availability, Cash App
Cash App, Los Angeles, CA

Software Engineer - Cash Cards
Cash App, Austin, TX

Software Engineer - Cash Cards
Cash App, New York, NY

jobs by Indeed



Share this page

Featured Products

AllegroGraph logo

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

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Redis logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

Present your product here