DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MySQL vs. Spark SQL vs. TiDB

System Properties Comparison MySQL vs. Spark SQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonSpark SQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMSSpark SQL is a component on top of 'Spark Core' for structured data processingTiDB 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 DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1211.96
Rank#2  Overall
#2  Relational DBMS
Score20.06
Rank#36  Overall
#22  Relational DBMS
Score3.44
Rank#102  Overall
#50  Relational DBMS
Websitewww.mysql.comspark.apache.org/­sqlpingcap.com
Technical documentationdev.mysql.com/­docspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.pingcap.com/­tidb/­stable
DeveloperOracle infosince 2010, originally MySQL AB, then SunApache Software FoundationPingCAP, Inc.
Initial release199520142016
Current release8.0.32, January 20233.3.0 ( 2.13), June 20226.5.0, December 2022
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoApache 2.0Open 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.
ScaleGrid for MySQL: Fully managed MySQL hosting On-Premises and on a wide variety of cloud providers. Easily deploy, monitor, provision, and scale your deployments in the cloud.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC and C++ScalaGo, Rust
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
Linux
OS X
Windows
Linux
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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 extensionsSQL-like DML and DDL statementsyes
APIs and other access methodsADO.NET
JDBC
ODBC
Proprietary native API
JDBC
ODBC
JDBC
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
Java
Python
R
Scala
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
Triggersyesnono
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricyes, utilizing Spark Corehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
noneUsing 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 enginenono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage enginenoACID
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.yesnono
User concepts infoAccess controlUsers with fine-grained authorization concept infono user groups or rolesnoUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
MySQLSpark SQLTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» 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 customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more

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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

Arctype: A fast, beautiful database GUI for developers and teams. Download it for free today.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

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

More resources
MySQLSpark SQLTiDB
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

Hardening MySQL for your WordPress site
18 January 2023, Security Boulevard

Canva's Live Database Migration: From MySQL to DynamoDB
11 January 2023, The New Stack

What is MySQL?
12 December 2022, Database Journal

Seven interesting SQL editor tools for ML developers
30 December 2022, INDIAai

mongoDB vs. MySQL
7 July 2022, Database Journal

provided by Google News

Apache® Kyuubi Becomes Top-Level Project
19 January 2023, GlobeNewswire

Data Engineer (Apache Airflow, Hive, Spark, SQL, AWS)
11 October 2022, EPAM

A Deep Dive into Custom Spark Transformers for ML Pipelines
27 July 2022, CrowdStrike

Accelerating SQL Queries on a Modern Real-Time Database
3 November 2022, The New Stack

Data chess game: Databricks vs. Snowflake, part 1
25 July 2022, VentureBeat

provided by Google News

PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
1 November 2022, GlobeNewswire

PingCAP’s Innovative TiDB Database – Techstrong.TV
20 October 2022, DevOps.com

Data management trends: Convergence and more money
19 January 2023, TechTarget

TiDB Cloud Launches in AWS Marketplace
10 February 2022, Datanami

PingCAP Named a Strong Performer among Translytical Data ...
6 December 2022, GlobeNewswire

provided by Google News

Job opportunities

PHP/MySQL Developers
Webmasters.com, Tampa, FL

MySQL DBA
Integra Global Solutions, Remote

Sr MySQL Database Admin (REMOTE)
RELX, Remote

Software Engineer
Jumpseller, Remote

Software Engineer
Humulo Engineering, Remote

Scala/Spark Data Engineer
ITI Data, Remote

Entry Level Data Engineer with BigData - 1
I28 Technologies Corporation, Remote

Big Data Support Engineer (Spark, SQL)
Teamware Solutions, United States

AWS DATA ENGINEER_(Scala/Spark)
Sunixa Solutions, Remote

Data Operations Associate - DEL
BlackRock, Wilmington, DE

Staff Software Engineer, Distributed System
Zilliz, San Francisco, CA

Senior Demand Generation Marketing Manager
PingCAP, Sunnyvale, CA

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

Web Application Architect III
Bloomberg BNA, Arlington, VA

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

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!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Present your product here