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

DBMS > Cassandra vs. Elasticsearch vs. H2 vs. Typesense

System Properties Comparison Cassandra vs. Elasticsearch vs. H2 vs. Typesense

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonElasticsearch  Xexclude from comparisonH2  Xexclude from comparisonTypesense  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 metricFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.A typo-tolerant, in-memory search engine optimized for instant search-as-you-type experiences and developer productivity
Primary database modelWide column storeSearch engineRelational DBMSSearch engine
Secondary database modelsVector DBMS infostarting with release V5Document store
Spatial DBMS
Vector DBMS
Spatial 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
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score0.79
Rank#210  Overall
#14  Search engines
Websitecassandra.apache.orgwww.elastic.co/­elasticsearchwww.h2database.comtypesense.org
Technical documentationcassandra.apache.org/­doc/­latestwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmltypesense.org/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookElasticThomas Mueller
Initial release2008201020052015
Current release4.1.3, July 20238.6, January 20232.2.220, July 2023
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL V3
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 languageJavaJavaJavaC++
Server operating systemsBSD
Linux
OS X
Windows
All OS with a Java VMAll OS with a Java VMLinux
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-free infopre-defined schema optional
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.nonono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)SQL-like query languageyesno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
Java API
RESTful HTTP/JSON API
JDBC
ODBC
RESTful HTTP 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
Java.Net infocommunity maintained
Clojure infocommunity maintained
Dart infocommunity maintained
Go infocommunity maintained
Java infocommunity maintained
JavaScript
Perl infocommunity maintained
PHP
Python
Ruby
Rust infocommunity maintained
Swift infocommunity maintained
Server-side scripts infoStored proceduresnoyesJava Stored Procedures and User-Defined Functionsno
Triggersyesyes infoby using the 'percolation' featureyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"Shardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleyesWith clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-source replication using RAFT
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, allImmediate Consistency
Foreign keys infoReferential integritynonoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsnoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
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 objectfine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraElasticsearchH2Typesense
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

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

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

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

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

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

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

provided by Google News

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

Elasticsearch Changes Name to Elastic to Reflect Wide Adoption Beyond Search
29 April 2024, Yahoo Singapore News

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Elastic Reports 8x Speed and 32x Efficiency Gains for Elasticsearch and Lucene Vector Database
26 April 2024, Business Wire

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

provided by Google News

Laravel Scout Adds Typesense, A Lightening-fast Open-source Search
17 January 2024, Laravel News

Elasticsearch alternatives: 8 to consider after the license change
11 March 2021, TechGenix

5 Recipe Search Engines to Cook Based on Time, Budget, & Ingredients - MUO
19 April 2022, MakeUseOf

Olivia Munn & John Mulaney's Toddler Malcolm Is a Style Icon
5 May 2023, SheKnows

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

AllegroGraph logo

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

RaimaDB logo

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

Neo4j logo

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

Present your product here