DB-EnginesCrateDB 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
Score125.21
Rank#10  Overall
#1  Wide column stores
Score1253.68
Rank#2  Overall
#2  Relational DBMS
Score2.07
Rank#117  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.4, February 20198.0.17, July 20193.0.0, June 2019
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.
  • Google Cloud SQL: A fully-managed database service for the Google Cloud Platform
  • Azure Database for MySQL: A fully managed, scalable MySQL relational database with high availability and security built in at no extra cost
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
Proprietary native API
ADO.NET
JDBC
ODBC
Proprietary protocol
JDBC
ODBC
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 possibleMaster-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 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 distributed scalable hybrid transactional and analytical processing...
» 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
Bank of Beijing (Banking) Mobike (Ridesharing) Toutiao (Media) Ele.me (Catering)...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
InfoWorld’s 2018 Best of Open Source Software Award winners 15000+ 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

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

TiDB Operator 1.0 GA: Database Cluster Deployment and Management Made Easy with Kubernetes
30 July 2019

Why Benchmarking Distributed Databases Is So Hard
8 July 2019

The KOST Stack: An Open-Source Cloud-Native Hybrid Database Stack
4 July 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 partiesInstaclustr: Fully Hosted and Managed Apache Cassandra
» more

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

DataStax Enterprise: Apache Cassandra for enterprises.
» more
Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» 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

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

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

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

Dremio is like magic for MySQL accelerating your analytical queries up to 1,000x.
» 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

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

DataStax Announces Platinum Sponsorship of ApacheCon
24 July 2019, Yahoo Finance

Sr. Cassandra Site Reliability Engineer - Grubhub
26 July 2019, Built In Chicago

MobilePay Capitalizes on Modern Apps With DataStax
29 July 2019, Yahoo Finance

DataStax and VMware Expand Collaboration for Hybrid Cloud Solutions
6 August 2019, Yahoo Finance

DataStax Co-Founder and CTO to Discuss Accelerating Innovation and Development in a Cloud World
12 August 2019, Business Wire

provided by Google News

SiteLock Extends Database Security Reach to MySQL
7 August 2019, Security Boulevard

PenCarrie Turns to Percona to Support MySQL Database Growth Strategy
23 July 2019, GlobeNewswire

MongoDB vs MySQL: Which Database is Better For Your Business
5 August 2019, Appinventiv

El Reg sits down to code with .NET for Linux and MySQL, hitting some bumps along the way
24 July 2019, The Register

Tungsten Clustering for MySQL, MariaDB & Percona Server - A Technical Overview
26 July 2019, Database Trends and Applications

provided by Google News

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

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

PingCAP offers titanium bullet to switch to its HTAP database
22 January 2019, DevClass

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

provided by Google News

Job opportunities

Senior Database Engineer
MasterCard, San Francisco, CA

Senior MySQL Database Engineer
Priceline.com, Norwalk, CT

Senior Principal Database and Cloud Engineer
Novartis, Cambridge, MA

Database Administrator
PMG Global, Herndon, VA

Senior Database Reliability Engineer, Service Infrastructure
WeWork, New York, NY

Database Administrator, MCS
NextGen Healthcare, Horsham, PA

Database Administrator
FedEx Supply Chain, Memphis, TN

Development Database Administrator
EAB, Richmond, VA

Database Administrator (Higher Ed)
PowerSchool, Austin, TX

Database Administrator
Purdue University, West Lafayette, IN

jobs by Indeed




Share this page

Featured Products

Neo4j logo

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

RavenDB logo

Setup a fully managed RavenDB Cloud Database in minutes. Enjoy hosting, management, backups all in one place.
Grab a Free Instance

Redis logo

Start now with Redis Cloud
Secure, highly available Redis as a serverless, hosted, fully managed cloud service.
Sign up here.

Couchbase logo

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

Present your product here