DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Cassandra vs. CockroachDB vs. EJDB vs. ToroDB

System Properties Comparison Apache Cassandra vs. CockroachDB vs. EJDB vs. ToroDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Cassandra  Xexclude from comparisonCockroachDB  Xexclude from comparisonEJDB  Xexclude from comparisonToroDB  Xexclude from comparison
ToroDB seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
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.Embeddable document-store database library with JSON representation of queries (in MongoDB style)A MongoDB-compatible JSON document store, built on top of PostgreSQL
Primary database modelWide column storeRelational DBMSDocument storeDocument store
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score98.94
Rank#11  Overall
#1  Wide column stores
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score0.13
Rank#331  Overall
#46  Document stores
Websitecassandra.apache.orgwww.cockroachlabs.comgithub.com/­Softmotions/­ejdbgithub.com/­torodb/­server
Technical documentationcassandra.apache.org/­doc/­latestwww.cockroachlabs.com/­docsgithub.com/­Softmotions/­ejdb/­blob/­master/­README.md
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookCockroach LabsSoftmotions8Kdata
Initial release2008201520122016
Current release5.0-rc1, July 202424.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0, commercial license availableOpen Source infoGPLv2Open Source infoAGPL-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 languageJavaGoCJava
Server operating systemsBSD
Linux
OS X
Windows
Linux
macOS
Windows
server-lessAll OS with a Java 7 VM
Data schemeschema-freedynamic schemaschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, bool, date, object_idyes infostring, integer, double, boolean, date, object_id
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 solutionyesno
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes, wire compatible with PostgreSQLno
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBCin-process shared library
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
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
Server-side scripts infoStored proceduresnonono
Triggersyesnonono
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 RAFTnoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication using RAFTnoneSource-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate ConsistencyEventual Consistency
Immediate Consistency
Foreign keys infoReferential integritynoyesno infotypically not needed, however similar functionality with collection joins possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDnono
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoRead/Write Lockingyes
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.nono
User concepts infoAccess controlAccess rights for users can be defined per objectRole-based access controlnoAccess rights for users and roles
More information provided by the system vendor
Apache CassandraCockroachDBEJDBToroDB
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 metricsApache Cassandra 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

Glean and DataStax Partner to Help Developers Harness Powerful Enterprise Search
23 September 2024

DataStax Named a Leader in The Forrester Wave™: Vector Databases, Q3 2024
23 September 2024

How to Build a Notion Clone with Astra DB and Mongoose
20 September 2024

How to Monitor DataStax-Powered RAG Applications with Fiddler
19 September 2024

How Knowledge Graph RAG Boosts LLM Results
18 September 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 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
Apache CassandraCockroachDBEJDBToroDB
Recent citations in the news

New Apache Cassandra 5.0 gives open source NoSQL database a scalability and performance boost
6 September 2024, VentureBeat

Apache Cassandra introduces version 5.0 of open-source NoSQL database
9 September 2024, Techzine Europe

Migrate Cassandra workloads to Amazon Keyspaces using CQLReplicator
4 September 2024, AWS Blog

Cassandra redesigns indexing, storage management for 5.0 release
10 September 2024, The Register

How Uber ensures Apache Cassandra®’s tolerance for single-zone failure
20 June 2024, Uber

provided by Google News

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

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

provided by Google News



Share this page

Featured Products

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here