DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Cassandra vs. MongoDB

System Properties Comparison Cassandra vs. MongoDB

Please select another system to include it in the comparison.

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

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonMongoDB  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
Primary database modelWide column storeDocument store
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score111.14
Rank#12  Overall
#1  Wide column stores
Score436.61
Rank#5  Overall
#1  Document stores
Websitecassandra.apache.orgwww.mongodb.com
Technical documentationcassandra.apache.org/­doc/­latestdocs.mongodb.com/­manual
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookMongoDB, Inc
Initial release20082009
Current release4.1.0, December 20226.0.5, March 2023
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.
Cloud-based only infoOnly available as a cloud servicenono infoMongoDB available as DBaaS (MongoDB Atlas)
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.
  • Aiven for Apache Cassandra: Fully managed, open source NoSQL database specifically designed to be highly available, performant, and scalable.
  • ScaleGrid for MongoDB Database: Fully managed hosting for MongoDB Database on a wide variety of cloud providers and On-Premises. Automate your management, scaling and backups through one centralized platform.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
Implementation languageJavaC++
Server operating systemsBSD
Linux
OS X
Windows
Linux
OS X
Solaris
Windows
Data schemeschema-freeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatial
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.no
Secondary indexesrestricted infoonly equality queries, not always the best performing solutionyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)Read-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
proprietary protocol using JSON
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
Server-side scripts infoStored proceduresnoJavaScript
Triggersyesyes infoin MongoDB Atlas only
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"Sharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Foreign keys infoReferential integritynono infotypically not used, however similar functionality with DBRef possible
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by default
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-memory storage engine introduced with MongoDB version 3.2
User concepts infoAccess controlAccess rights for users can be defined per objectAccess rights for users and roles
More information provided by the system vendor
CassandraMongoDB
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Internet of Things and Time Series (Bosch, GE Healthcare, Jaguar Land Rover) Mobile...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
365+ million downloads, over 150,000+ Atlas clusters provisioned every month handling...
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
News

How 3 Digital Champions Rely on Astra DB for AI
22 May 2023

Is Your Data Ready for ChatGPT?
17 May 2023

3 Important AI/ML Tools You Can Deploy on Kubernetes
15 May 2023

Our Customers Have Spoken: DataStax Astra DB Wins TrustRadius Top Rated Awards in 4 Categories
10 May 2023

Comparing Azure Cosmos DB and Astra DB for Building Real-Time Data Apps
25 April 2023

Related products and services
3rd partiesAiven for Apache Cassandra: A truly distributed database that can handle large volumes of writes.
» more

Instaclustr: Hosted & Managed Apache Cassandra as a Service
» more

Cassandra 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
Studio 3T: The world's favorite IDE for working with MongoDB
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» 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
CassandraMongoDB
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

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

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

show all

Recent citations in the news

Vector Search Is Coming to Apache Cassandra
12 May 2023, The New Stack

DataStax taps ThirdAI to bring generative AI to its database offerings
24 May 2023, InfoWorld

Cassandra 5.0: What Do the Developers Who Built It Think?
5 May 2023, The New Stack

Choosing the Right Database for System Design: SQL vs NoSQL ...
1 May 2023, Medium

DataStax extends AI feature engineering with Luna ML
4 May 2023, VentureBeat

provided by Google News

MongoDB and Alibaba Cloud Extend Global Partnership
25 May 2023, PR Newswire

FerretDB Provides Alternative to MongoDB
19 May 2023, Datanami

ScyllaDB vs. MongoDB: When to Use Each
12 May 2023, The New Stack

SingleStore Launches MongoDB API to Power AI and Real-Time ...
18 May 2023, Business Wire

Clearbridge Investments LLC Sells 19791 Shares of MongoDB, Inc ...
29 May 2023, MarketBeat

provided by Google News

Job opportunities

Cassandra Database Engineer
1 Point System, Remote

Senior Database Engineer
WELLS FARGO BANK, Raleigh, NC

Database Analyst - REMOTE
General Dynamics Information Technology, Indiana

Database Engineer – Cassandra, Bash scripting, Python – REMOTE WORK 43228
PRIMUS Global Services, Inc, Austin, TX

DB Support Engineer (Cassandra)
Photon, California

MongoDB Ventures – Analyst / Associate
MongoDB, New York, NY

Fullstack Developer
BigLynx Computer Software, Redmond, WA

Senior Node.js developer With MongoDB
Talent Hires, Remote

Technical Support Analyst
Sakari, Remote

Web Development Opportunities
SuretyBonds.com, Remote

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

Redis logo

The world’s most loved real‑time data platform.
Try free

Neo4j logo

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

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Present your product here