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

DBMS > Cassandra vs. CockroachDB vs. HyperSQL vs. Riak TS vs. Spark SQL

System Properties Comparison Cassandra vs. CockroachDB vs. HyperSQL vs. Riak TS vs. Spark SQL

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonCockroachDB  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  Xexclude from comparisonRiak TS  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBRiak TS is a distributed NoSQL database optimized for time series data and based on Riak KVSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelWide column storeRelational DBMSRelational DBMSTime Series DBMSRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score101.89
Rank#12  Overall
#1  Wide column stores
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score3.49
Rank#87  Overall
#47  Relational DBMS
Score0.20
Rank#319  Overall
#27  Time Series DBMS
Score18.96
Rank#33  Overall
#20  Relational DBMS
Websitecassandra.apache.orgwww.cockroachlabs.comhsqldb.orgspark.apache.org/­sql
Technical documentationcassandra.apache.org/­doc/­latestwww.cockroachlabs.com/­docshsqldb.org/­web/­hsqlDocsFrame.htmlwww.tiot.jp/­riak-docs/­riak/­ts/­latestspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookCockroach LabsOpen Source, formerly Basho TechnologiesApache Software Foundation
Initial release20082015200120152014
Current release4.1.3, July 202323.1.1, May 20232.7.2, June 20233.0.0, September 20223.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0, commercial license availableOpen Source infobased on BSD licenseOpen SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
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 languageJavaGoJavaErlangScala
Server operating systemsBSD
Linux
OS X
Windows
Linux
macOS
Windows
All OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesLinux
OS X
Linux
OS X
Windows
Data schemeschema-freedynamic schemayesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes
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.nonononono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyesyesrestrictedno
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes, wire compatible with PostgreSQLyesyes, limitedSQL-like DML and DDL statements
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBCHTTP API infoJDBC via HTTP
JDBC
ODBC
HTTP API
Native Erlang Interface
JDBC
ODBC
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
All languages supporting JDBC/ODBC
Java
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Java
Python
R
Scala
Server-side scripts infoStored proceduresnonoJava, SQLErlangno
Triggersyesnoyesyes infopre-commit hooks and post-commit hooksno
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"horizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTnoneShardingyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication using RAFTnoneselectable replication factornone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integritynoyesyesno infolinks between datasets can be storedno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACIDnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesno
User concepts infoAccess controlAccess rights for users can be defined per objectRole-based access controlfine grained access rights according to SQL-standardnono
More information provided by the system vendor
CassandraCockroachDBHyperSQL infoalso known as HSQLDBRiak TSSpark SQL
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
News

How Concide Built its Chat Platform with Enhanced Document Management for Legal Tech Professionals
23 May 2024

Astra Vectorize: Generate Vector Embeddings with 1 Line of Code
22 May 2024

GitHub Copilot + DataStax Astra DB: Build GenAI Apps 100x Faster
21 May 2024

Empowering On-Premises Deployments with Generative AI: Introducing Vector Search for a Self-Managed Modern Architecture
15 May 2024

Tips and Tricks for the DataStax Astra CLI
7 May 2024

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
CassandraCockroachDBHyperSQL infoalso known as HSQLDBRiak TSSpark SQL
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

Microsoft Build 2024: Cosmos DB for NoSQL gets vector search
21 May 2024, InfoWorld

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

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

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

provided by Google News

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

provided by Google News

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

Best open source databases for IoT applications
26 May 2017, Open Source For You

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Performant IPv4 Range Spark Joins | by Jean-Claude Cote
24 January 2024, Towards Data Science

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

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

RaimaDB logo

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Neo4j logo

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

Present your product here