DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. Elasticsearch vs. RocksDB vs. TerarkDB

System Properties Comparison Cassandra vs. Elasticsearch vs. RocksDB vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonElasticsearch  Xexclude from comparisonRocksDB  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricEmbeddable persistent key-value store optimized for fast storage (flash and RAM)A key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelWide column storeSearch engineKey-value storeKey-value store
Secondary database modelsVector DBMS infostarting with release V5Document store
Spatial DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score135.35
Rank#7  Overall
#1  Search engines
Score3.65
Rank#85  Overall
#11  Key-value stores
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitecassandra.apache.orgwww.elastic.co/­elasticsearchrocksdb.orggithub.com/­bytedance/­terarkdb
Technical documentationcassandra.apache.org/­doc/­latestwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlgithub.com/­facebook/­rocksdb/­wikibytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookElasticFacebook, Inc.ByteDance, originally Terark
Initial release2008201020132016
Current release4.1.3, July 20238.6, January 20238.11.4, April 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoElastic LicenseOpen Source infoBSDcommercial inforestricted open source version available
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.
Implementation languageJavaJavaC++C++
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMLinux
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnono
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 solutionyes infoAll search fields are automatically indexednono
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)SQL-like query languagenono
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
Java API
RESTful HTTP/JSON API
C++ API
Java API
C++ API
Java API
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C
C++
Go
Java
Perl
Python
Ruby
C++
Java
Server-side scripts infoStored proceduresnoyesnono
Triggersyesyes infoby using the 'percolation' featureno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"Shardinghorizontal partitioningnone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleyesyesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesES-Hadoop Connectornono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, all
Foreign keys infoReferential integritynononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsnoyesno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.noMemcached and Redis integrationyesyes
User concepts infoAccess controlAccess rights for users can be defined per objectnono
More information provided by the system vendor
CassandraElasticsearchRocksDBTerarkDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» 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
Speedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

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

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

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

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

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

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

How Zalando migrated their shopping carts to Amazon DynamoDB from Apache Cassandra | Amazon Web Services
11 October 2023, AWS Blog

provided by Google News

Understanding Elasticsearch Reindexing: When to Reindex, Best Practices and Alternatives
8 May 2024, hackernoon.com

Netflix Uses Elasticsearch Percolate Queries to Implement Reverse Searches Efficiently
29 April 2024, InfoQ.com

The Total Economic Impact™️ of Elasticsearch
8 May 2024, BankInfoSecurity.com

8 Powerful Alternatives to Elasticsearch
25 April 2024, Yahoo Finance

Red Hat and Elastic Fuel Retrieval Augmented Generation for GenAI Use Cases
7 May 2024, businesswire.com

provided by Google News

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

The Journey to a Million Ops / Sec / Node in Venice
16 March 2024, InfoQ.com

Power your Kafka Streams application with Amazon MSK and AWS Fargate | Amazon Web Services
10 August 2021, AWS Blog

provided by Google News



Share this page

Featured Products

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here