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

DBMS > Cassandra vs. TiDB

System Properties Comparison Cassandra vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare Cassandra and TiDB with ClickHouse, YugabyteDB and MySQL.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelWide column storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score121.09
Rank#10  Overall
#1  Wide column stores
Score2.05
Rank#119  Overall
#57  Relational DBMS
Websitecassandra.apache.orgpingcap.com
Technical documentationcassandra.apache.org/­doc/­latestpingcap.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookPingCAP, Inc.
Initial release20082016
Current release3.11.6, February 20204.0.1, June 2020
License infoCommercial or Open SourceOpen Source infoApache version 2Open 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.
Implementation languageJavaGo, Rust
Server operating systemsBSD
Linux
OS X
Windows
Linux
Data schemeschema-freeyes
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.nono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
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
Server-side scripts infoStored proceduresnono
Triggersyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"horizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesyes 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 Consistency
Foreign keys infoReferential integritynono 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
Concurrency infoSupport for concurrent manipulation of datayesyes
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.nono
User concepts infoAccess controlAccess rights for users can be defined per objectUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
CassandraTiDB
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
Related products and services
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

DataStax Enterprise: Apache Cassandra for enterprises.
» more

Instaclustr: Fully Hosted and Managed Apache Cassandra
» more

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

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

More resources
CassandraTiDB
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

Recent citations in the news

Faster than ever, Apache Cassandra 4.0 beta is on its way
11 June 2020, ZDNet

DataStax Brings AIOps to Cassandra Database Management
16 June 2020, DevOps.com

DataStax Vector: Making Cassandra NoSQL DBMS clusters more manageable
18 June 2020, ZDNet

DataStax Announces Cloud Native Database as a Service and AIOps Tools
23 June 2020, InfoQ.com

DataStax Releases Open Source Kubernetes Operator for Apache Cassandra
10 June 2020, Integration Developers

provided by Google News

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

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

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

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

provided by Google News

Job opportunities

Apache Cassandra database-Developer
Wipro Limited, Chevy Chase, MD

NoSQL Database Administrator
IBM, United States

DB2 Database Administrator
Fiserv, Inc., Alpharetta, GA

Staff Application and Database Administrator
Equinix, San Francisco, CA

Database Administrator
PMG Global, Herndon, VA

Senior Cloud Product Manager
PingCAP, San Mateo, CA

jobs by Indeed




Share this page

Featured Products

AllegroGraph logo

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

Neo4j logo

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

Datastax Astra logo

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

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.

Present your product here