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

DBMS > Cassandra vs. MySQL vs. TiDB

System Properties Comparison Cassandra vs. MySQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonMySQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessWidely used open source RDBMSTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelWide column storeRelational 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
Score119.84
Rank#11  Overall
#1  Wide column stores
Score1261.57
Rank#2  Overall
#2  Relational DBMS
Score2.06
Rank#122  Overall
#60  Relational DBMS
Websitecassandra.apache.orgwww.mysql.compingcap.com
Technical documentationcassandra.apache.org/­doc/­latestdev.mysql.com/­docpingcap.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookOracle infosince 2010, originally MySQL AB, then SunPingCAP, Inc.
Initial release200819952016
Current release3.11.7, July 20208.0.21, 20204.0.1, June 2020
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen 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.
  • Azure Database for MySQL: A fully managed, scalable MySQL relational database with high availability and security built in at no extra cost
  • ScaleGrid for MySQL: Fully managed MySQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageJavaC and C++Go, Rust
Server operating systemsBSD
Linux
OS X
Windows
FreeBSD
Linux
OS X
Solaris
Windows
Linux
Data schemeschema-freeyesyes
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.noyesno
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes infowith proprietary extensionsyes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
ADO.NET
JDBC
ODBC
Proprietary native API
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
Ada
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 proceduresnoyes infoproprietary syntaxno
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"horizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication
Source-replica replication
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infonot for MyISAM storage engineno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes
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.noyesno
User concepts infoAccess controlAccess rights for users can be defined per objectUsers 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
CassandraMySQLTiDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
InfoWorld’s 2018 Best of Open Source Software Award winners 24200+ stars on GitHub...
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud
6 August 2020

Create a Scale-Out Hive Cluster with a Distributed, MySQL-Compatible Database
4 August 2020

Heterogeneous Database Replication to TiDB
30 July 2020

Announcing Chaos Mesh® as a CNCF Sandbox Project
28 July 2020

How TiDB's HTAP Makes Truly Hybrid Workloads Possible
16 July 2020

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

Instaclustr: Hosted & Managed Apache Cassandra as a Service
» more

DBHawk: Secure access to SQL, NoSQL and Cloud databases with an all-in-one solution.
» more

DataStax Enterprise: Apache Cassandra for enterprises.
» more
Datadog: Improve MySQL performance by visualizing and identifying errors fast using granular, out-of-the-box dashboards.
» more

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

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

Azure Database for MySQL provides fully managed, enterprise-ready community MySQL database as a service
» more

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

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

More resources
CassandraMySQLTiDB
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

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

Apache Cassandra 4.0 Lands: Five Times Faster, Audit Logging and More
21 July 2020, Computer Business Review

Apache Cassandra 4.0 Now in Beta -- ADTmag
22 July 2020, ADT Magazine

Cassandra Update Boosts Recovery Speeds
27 July 2020, DevOps.com

Apache Cassandra’s road to the cloud
4 August 2020, ZDNet

Apache Cassandra 4.0 promises increased stability, speed and ease of use
22 July 2020, www.computing.co.uk

provided by Google News

ScaleFlux computational storage makes Percona MySQL faster
5 August 2020, Blocks and Files

Best data management course deal: 95% off MySQL bootcamp (UK deal)
2 August 2020, Mashable

PHP MYSQL Programming, For Beginners, Quick Start Guide.
8 August 2020, Digital Market News

MYSQL Programming, For Beginners, Quick Start Guide.
9 August 2020, Digital Market News

Why MongoDB is 'fundamentally better' for developers
10 August 2020, OmniChannel Media

provided by Google News

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

PingCAP launches TiDB Cloud, a fully-managed database as a service offering
25 June 2020, Help Net Security

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

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

TiDB open sources its MySQL/MariaDB compatible data migration (DM) tool
22 January 2019, Packt Hub

provided by Google News

Job opportunities

Apache Cassandra database-Lead
Wipro Limited, New Jersey

Engineering Lead
HASH, Remote

Database Engineer
MasterCard, New York, NY

Cassandra DBA
TELUS International, Pennsylvania

Database Administrator
PMG Global, Herndon, VA

Entry Level Data Analyst Position
jerneltechcorp, New York, NY

Entry Level Data Analyst
Hopjump, Boston, MA

Data Engineer - Contract/Freelance
Seadata.io, Atlanta, GA

Loss Prevention Specialist
Amazon.com Services LLC, Monee, IL

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Product Marketing Manager for TiDB Cloud
PingCAP, San Mateo, CA

Database Reliability Engineer (DBRE)
SwissBorg, Remote

Senior Product Manager (TiDB Cloud)
PingCAP, San Mateo, CA

Senior Cloud Product Engineer
PingCAP, San Mateo, CA

jobs by Indeed




Share this page

Featured Products

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.

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database Machine Learning. Try Vertica for free with no time limit.

Datastax Astra logo

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

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