DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > MySQL vs. RocksDB vs. TiDB

System Properties Comparison MySQL vs. RocksDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonRocksDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMSEmbeddable persistent key-value store optimized for fast storage (flash and RAM)TiDB 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 infoKey/Value like access via memcached APIKey-value storeRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score987.11
Rank#2  Overall
#2  Relational DBMS
Score3.14
Rank#80  Overall
#11  Key-value stores
Score3.50
Rank#73  Overall
#38  Relational DBMS
Websitewww.mysql.comrocksdb.orgpingcap.com
Technical documentationdev.mysql.com/­docgithub.com/­facebook/­rocksdb/­wikidocs.pingcap.com/­tidb/­stable
DeveloperOracle infosince 2010, originally MySQL AB, then SunFacebook, Inc.PingCAP, Inc.
Initial release199520132016
Current release9.0.0, July 20249.4.0, June 20248.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC and C++C++Go, Rust
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
LinuxLinux
Data schemeyesschema-freeyes
Typing infopredefined data types such as float or dateyesnoyes
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.yesnono
Secondary indexesyesnoyes
SQL infoSupport of SQLyes infowith proprietary extensionsnoyes
APIs and other access methodsADO.NET
JDBC
ODBC
Proprietary native API
C++ API
Java API
GORM
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
C
C++
Go
Java
Perl
Python
Ruby
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 syntaxnono
Triggersyesno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioninghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
yesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infonot for MyISAM storage enginenoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage engineyesACID
Concurrency infoSupport for concurrent manipulation of datayes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesno
User concepts infoAccess controlUsers with fine-grained authorization concept infono user groups or rolesnoFine grained access rights according to SQL-standard

More information provided by the system vendor

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

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

More resources
MySQLRocksDBTiDB
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

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

show all

Recent citations in the news

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

Build global MySQL apps using Cloudflare Workers and Hyperdrive
8 April 2025, The Cloudflare Blog

Migrate very large databases to Amazon Aurora MySQL using MyDumper and MyLoader
27 February 2025, Amazon Web Services (AWS)

PlanetScale Vectors Now GA: MySQL's Missing Feature?
12 April 2025, infoq.com

How To Set, Change, and Recover Your MySQL Root Password
3 January 2025, TechRepublic

provided by Google News

Kioxia Demonstrates Flexible Data Placement-Enabled SSD Running RocksDB at 2024 OCP Global Summit
18 October 2024, ANTARA News

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

KIOXIA SSD 'Flexible Data Placement' tech is a game changer for generative AI and the cloud
14 October 2024, TweakTown

Facebook’s MyRocks Truly Rocks!
21 September 2020, Open Source For You

provided by Google News

PingCAP Unveils Major TiDB Enhancements to Power Global Scale and AI-Driven Applications
22 April 2025, GlobeNewswire

PingCAP Unveils Major TiDB Enhancements to Power Global Scale and AI-Driven Applications
22 April 2025, Yahoo Finance

Build a data lakehouse in a hybrid Environment using Amazon EMR Serverless, Apache DolphinScheduler, and TiDB
20 March 2025, Amazon Web Services (AWS)

How TiDB is solving enterprise data challenges with scalability and speed
21 March 2025, YourStory.com

The future of databases in India: TiDB’s answer to modern data challenges
21 March 2025, ET CIO

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here