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

DBMS > Cassandra vs. Derby vs. Realm vs. TiDB

System Properties Comparison Cassandra vs. Derby vs. Realm vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonRealm  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.A DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core DataTiDB 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 storeRelational DBMSDocument storeRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score4.71
Rank#69  Overall
#37  Relational DBMS
Score7.60
Rank#52  Overall
#9  Document stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitecassandra.apache.orgdb.apache.org/­derbyrealm.iopingcap.com
Technical documentationcassandra.apache.org/­doc/­latestdb.apache.org/­derby/­manuals/­index.htmlrealm.io/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookApache Software FoundationRealm, acquired by MongoDB in May 2019PingCAP, Inc.
Initial release2008199720142016
Current release4.1.3, July 202310.17.1.0, November 20238.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache version 2Open SourceOpen 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 languageJavaJavaGo, Rust
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMAndroid
Backend: server-less
iOS
Windows
Linux
Data schemeschema-freeyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.noyesnono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yesnoyes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBCGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
Java.Net
Java infowith Android only
Objective-C
React Native
Swift
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 proceduresnoJava Stored Proceduresno inforuns within the applications so server-side scripts are unnecessaryno
Triggersyesyesyes infoChange Listenersno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"nonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleSource-replica replicationnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonoyes 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 ConsistencyImmediate 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 operationsACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes infoIn-Memory realmno
User concepts infoAccess controlAccess rights for users can be defined per objectfine grained access rights according to SQL-standardyesFine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBRealmTiDB
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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Cassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more

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

More resources
CassandraDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBRealmTiDB
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, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

Why Apache Cassandra 5.0 Is a Game-Changer for Developers
10 May 2024, The New Stack

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

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

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

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

provided by Google News

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Top Database Tools for Java Developers in 2023
17 November 2023, TechRepublic

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Apache® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

No, Citrix did not kill CloudStack
15 September 2014, InfoWorld

provided by Google News

MongoDB aims to unify developer experience with launch of MongoDB Cloud
9 June 2020, diginomica

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

Here are the winners of Nordic Startup Awards
31 May 2016, EU-Startups

Kotlin Programming Language Will Surpass Java On Android Next Year
15 October 2017, Fossbytes

Java Synthetic Methods — What are these? | by Vaibhav Singh
27 February 2021, DataDrivenInvestor

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

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

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

Unlocking performance, scalability, and cost-efficiency of Zomato's Billing Platform by switching from TiDB to ...
22 December 2023, AWS Blog

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

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

Present your product here