DB-EnginesInfluxDB download bannerEnglish
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, YugabyteDB and MySQL.

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
Score2.34
Rank#117  Overall
#57  Relational DBMS
Websitepingcap.com
Technical documentationdocs.pingcap.com/­tidb/­stable
DeveloperPingCAP, Inc.
Initial release2016
Current release4.0, July 2020
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.
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

How a Top Game Company Uses Chaos Engineering to Improve Testing
26 November 2020

Best Practices for TiDB on AWS Cloud
24 November 2020

PingCAP, the Company Behind TiDB, Raises $270 Million in Series D Funding
17 November 2020

TiDB on KubeSphere: Run a Cloud-Native Distributed Database on a Hybrid-Cloud Kubernetes Platform
16 November 2020

Flink + TiDB: A Scale-Out Real-Time Data Warehouse for Second-Level Analytics
11 November 2020

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, the open-source developer behind TiDB, closes $270 million Series D
17 November 2020, TechCrunch

PingCAP raises $270M to develop core technologies and advance global expansion of its offerings
18 November 2020, Help Net Security

Cloud Native Computing Foundation Announces etcd Graduation | State
24 November 2020, thepress.net

Space Tech startup joins the unicorn club & a report on the trillion-dollar fresh food industry | China's Venture Roundup Volume 11
27 November 2020, KrASIA

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

provided by Google News

Job opportunities

Database Administrator
Backblaze, San Mateo, CA

Senior Software Engineer (Storage), Cash App
Cash App, New York, NY

Senior Software Engineer (Storage), Cash App
Cash App, San Francisco, CA

jobs by Indeed




Share this page

Featured Products

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

AllegroGraph logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Present your product here