DB-EnginesCrateDB 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, YugaByte DB 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
Score1.47
Rank#126  Overall
#65  Relational DBMS
Websitepingcap.com
Technical documentationpingcap.com/­docs
DeveloperPingCAP, Inc.
Initial release2016
Current release3.0.0, June 2019
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 methodsProprietary protocol
JDBC
ODBC
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 distributed scalable hybrid transactional and analytical processing (HTAP) database built by PingCAP.

TiDB Specific Characteristics:

  1. Horizontal scalability
  2. MySQL compatibility
  3. Distributed transaction
  4. Cloud native architecture
  5. Minimize ETL
  6. High availability
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
  • Bank of Beijing (Banking)
  • Mobike (Ridesharing)
  • Toutiao (Media) 
  • Ele.me (Catering)
  • Qunar.com (Travel)
  • Yiguo.com (E-commerce)
  • Shopee (E-commerce)
  • BookMyShow.com (E-commerce)
  • GAEA (Gaming)
  • YOOZOO GAMES (Gaming) 
  • FUNYOURS JAPAN (Gaming) 
  • Wanda Internet Technology Group (Big Data)
  • 360 Financial (FinTech)

See more TiDB Success Stories.

Market metrics
  1. InfoWorld’s 2018 Best of Open Source Software Award winners

  2. 15000+ stars on GitHub

  3. 200+ community contributors and 300+ production users


Licensing and pricing models

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

News

Safety First! Common Safety Pitfalls in Distributed Databases Found by Jepsen Tests
18 September 2019

How TSQ Becomes a Performance Bottleneck for TiKV in AWS ARM Environment
26 August 2019

Lesson Learned from Queries over 1.3 Trillion Rows of Data Within Milliseconds of Response Time at Zhihu.com
21 August 2019

Porting TiDB to ARM64 for Greater Flexibility
16 August 2019

Migrating the TiKV Rust Client from Futures 0.1 to 0.3
8 August 2019

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 offers titanium bullet to switch to its HTAP database
22 January 2019, DevClass

How TiDB combines OLTP and OLAP in a distributed database
17 October 2018, InfoWorld

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

Percona Unveils Stellar Keynote Schedule for Eighth Annual Percona Live Open Source Database Conference
9 May 2019, GlobeNewswire

China’s Biggest Startups Ditch Oracle and IBM for Home-Made Tech
24 June 2019, Bloomberg

provided by Google News




Share this page

Featured Products

AllegroGraph logo

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

Neo4j logo

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

Couchbase logo

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


Datastax logo

Build data-driven applications that set the standard for performance, availability,
& scale with DataStax.
Learn more.

Redis logo

Hosted, serverless DBaaS
in 3 steps.

30MB Free!
Start now.

Present your product here