DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Cassandra vs. CockroachDB

System Properties Comparison Apache Cassandra vs. CockroachDB

Please select another system to include it in the comparison.

Our visitors often compare Apache Cassandra and CockroachDB with PostgreSQL, MongoDB and Amazon DynamoDB.

Editorial information provided by DB-Engines
NameApache Cassandra  Xexclude from comparisonCockroachDB  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.
Primary database modelWide column storeRelational DBMS
Secondary database modelsVector DBMS infostarting with release V5
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score99.19
Rank#11  Overall
#1  Wide column stores
Score4.29
Rank#66  Overall
#36  Relational DBMS
Websitecassandra.apache.orgwww.cockroachlabs.com
Technical documentationcassandra.apache.org/­doc/­latestwww.cockroachlabs.com/­docs
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookCockroach Labs
Initial release20082015
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 available
Cloud-based only infoOnly available as a cloud servicenono
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 languageJavaGo
Server operating systemsBSD
Linux
OS X
Windows
Linux
macOS
Windows
Data schemeschema-freedynamic schema
Typing infopredefined data types such as float or dateyesyes
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.nono
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)yes, wire compatible with PostgreSQL
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
JDBC
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
Server-side scripts infoStored proceduresnono
Triggersyesno
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 RAFT
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication using RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integritynoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
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 control
More information provided by the system vendor
Apache CassandraCockroachDB
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

How to Create Your First AI Agent
22 January 2025

WealthAPI and Vector Search: Cracking the Code on Contract Analytics
21 January 2025

Building an AI Resume Assistant App with Langflow, Astra DB, and OpenAI
18 January 2025

Simplifying Ground Truth Generation for LLMs
17 January 2025

How to Build Graph RAG with Unstructured and Astra DB
14 January 2025

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 CassandraCockroachDB
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 survey highlights growing adoption for AI workloads
11 November 2024, Blocks and Files

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

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

Apache Software Foundation Announces Apache Cassandra® 5.0,
7 October 2024, GlobeNewswire

provided by Google News

CockroachDB scurries off to proprietary software land
23 August 2024, The Register

AI Meets Resilience: Cockroach Labs Intros CockroachDB 24.2
2 October 2024, Channel Insider

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

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.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

SingleStore logo

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

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

RaimaDB logo

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

Present your product here