DB-EnginesCrateDB bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MySQL vs. TiDB

System Properties Comparison MySQL vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare MySQL and TiDB with Cassandra, PostgreSQL and Snowflake.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMSTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMS infoKey/Value like access via memcached APIRelational DBMS
Secondary database modelsDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1283.06
Rank#2  Overall
#2  Relational DBMS
Score1.47
Rank#126  Overall
#64  Relational DBMS
Websitewww.mysql.compingcap.com
Technical documentationdev.mysql.com/­docpingcap.com/­docs
DeveloperOracle infosince 2010, originally MySQL AB, then SunPingCAP, Inc.
Initial release19952016
Current release8.0.18, October 20193.0.0, June 2019
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Azure Database for MySQL: A fully managed, scalable MySQL relational database with high availability and security built in at no extra cost
  • Google Cloud SQL: A fully-managed database service for the Google Cloud Platform
Implementation languageC and C++Go, Rust
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
Linux
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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.yesno
Secondary indexesyesyes
SQL infoSupport of SQLyes infowith proprietary extensionsyes
APIs and other access methodsProprietary native API
ADO.NET
JDBC
ODBC
Proprietary 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
Ada
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 proceduresyes infoproprietary syntaxno
Triggersyesno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-master replication
Master-slave replication
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infonot for MyISAM storage engineno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesno
User concepts infoAccess controlUsers with fine-grained authorization concept infono user groups or rolesUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
MySQLTiDB
Specific characteristicsTiDB is an open source distributed scalable hybrid transactional and analytical processing...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersBank of Beijing (Banking) Mobike (Ridesharing) Toutiao (Media) Ele.me (Catering)...
» more
Market metricsInfoWorld’s 2018 Best of Open Source Software Award winners 15000+ stars on GitHub...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
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

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesAzure Database for MySQL provides fully managed, enterprise-ready community MySQL database as a service
» more

Dremio is like magic for MySQL accelerating your analytical queries up to 1,000x.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

ScaleGrid: Fully managed MySQL-as-a-Service.
» more

SQLPro for MySQL: A simple but powerful MySQL database client available on iPhone and iPad as well as macOS.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

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

More resources
MySQLTiDB
DB-Engines blog posts

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

Using Five Types of JOIN in MySQL
21 October 2019, Database Journal

Learn MySQL and Start Working With Data Like a Pro
16 October 2019, Entrepreneur

MongoDB vs. MySQL: How to choose
14 October 2019, InfoWorld

Learn MySQL via this super cheap online course
16 October 2019, Mashable

Raytracing with MySQL
10 October 2019, Boing Boing

provided by Google 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

Job opportunities

Database Administrator
Paylocity, Remote

Web Developer
Herculean Technologies, Melbourne, FL

Web Software Developer
CGG, Houston, TX

Web Developer – Front End
SafeRack, Andrews, SC

Database Administrator
QVine Corporation, College Park, MD

jobs by Indeed




Share this page

Featured Products

Redis logo

Hosted, serverless DBaaS
in 3 steps.

30MB Free!
Start now.

AllegroGraph logo

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

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.

Neo4j logo

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

Present your product here