DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. Tarantool vs. TerarkDB vs. TiDB

System Properties Comparison Cassandra vs. Tarantool vs. TerarkDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonTarantool  Xexclude from comparisonTerarkDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessIn-memory computing platform with a flexible data schema for efficiently building high-performance applicationsA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDBTiDB 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 modelWide column storeDocument store
Key-value store
Relational DBMS
Key-value storeRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5Spatial DBMS infowith Tarantool/GIS extensionDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score1.72
Rank#144  Overall
#25  Document stores
#25  Key-value stores
#66  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitecassandra.apache.orgwww.tarantool.iogithub.com/­bytedance/­terarkdbpingcap.com
Technical documentationcassandra.apache.org/­doc/­latestwww.tarantool.io/­en/­docbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKcdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookVKByteDance, originally TerarkPingCAP, Inc.
Initial release2008200820162016
Current release4.1.3, July 20232.10.0, May 20228.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoBSD-2, source-available extensions (modules), commercial licenses for Tarantool Enterprisecommercial inforestricted open source version availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Astra DB: Multi-cloud DBaaS built on Apache Cassandra.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaC and C++C++Go, Rust
Server operating systemsBSD
Linux
OS X
Windows
BSD
Linux
macOS
Linux
Data schemeschema-freeFlexible data schema: relational definition for tables with ability to store json-like documents in columnsschema-freeyes
Typing infopredefined data types such as float or dateyesstring, double, decimal, uuid, integer, blob, boolean, datetimenoyes
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.nononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesnoyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)Full-featured ANSI SQL supportnoyes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
Open binary protocolC++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C
C#
C++
Erlang
Go
Java
JavaScript
Lua
Perl
PHP
Python
Rust
C++
Java
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 proceduresnoLua, C and SQL stored proceduresnono
Triggersyesyes, before/after data modification events, on replication events, client session eventsnono
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"Sharding, partitioned with virtual buckets by user defined affinity key. Live resharding for scale up and scale down without maintenance downtime.nonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleAsynchronous replication with multi-master option
Configurable replication topology (full-mesh, chain, star)
Synchronous quorum replication (with Raft)
noneUsing 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
Casual consistency across sharding partitions
Eventual consistency within replicaset partition infowhen using asyncronous replication
Immediate Consistency within single instance
Sequential consistency including linearizable read within replicaset partition infowhen using Raft
Immediate Consistency
Foreign keys infoReferential integritynoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACID, with serializable isolation and linearizable read (within partition); Configurable MVCC (within partition); No cross-shard distributed transactionsnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes, cooperative multitaskingyesyes
Durability infoSupport for making data persistentyesyes, write ahead loggingyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes, full featured in-memory storage engine with persistenceyesno
User concepts infoAccess controlAccess rights for users can be defined per objectAccess Control Lists
Mutual TLS authentication for Tarantol Enterprise
Password based authentication
Role-based access control (RBAC) and LDAP for Tarantol Enterprise
Users and Roles
noFine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraTarantoolTerarkDBTiDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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 partiesCassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

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

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

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

Data processing speed and reliability: in-memory synchronous replication
9 November 2021,  Vladimir Perepelytsya, Tarantool (sponsor) 

show all

Recent citations in the news

What Is Cassandra? Working, Features, and Uses - Spiceworks Inc
17 August 2023, Spiceworks News and Insights

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

provided by Google News

In-Memory Showdown: Redis vs. Tarantool
4 April 2023, Хабр

TaranHouse: New Big Data Warehouse Announced by Tarantool
4 April 2018, Newswire

Tarantool Announces New Enterprise Version With Enhanced Scaling and Monitoring Capabilities
18 May 2018, Newswire

Deploying Tarantool Cartridge applications with zero effort (Part 1)
16 December 2019, Хабр

Deploying Tarantool Cartridge applications with zero effort (Part 2)
13 April 2020, Хабр

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

provided by Google News



Share this page

Featured Products

Milvus logo

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

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

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.

AllegroGraph logo

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

Present your product here