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

DBMS > CockroachDB vs. MongoDB vs. Oracle

System Properties Comparison CockroachDB vs. MongoDB vs. Oracle

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonMongoDB  Xexclude from comparisonOracle  Xexclude from comparison
DescriptionCockroachDB 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.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureWidely used RDBMS
Primary database modelRelational DBMSDocument storeRelational DBMS
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
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document store
Graph DBMS infowith Oracle Spatial and Graph
RDF store infowith Oracle Spatial and Graph
Spatial DBMS infowith Oracle Spatial and Graph
Vector DBMS infosince Oracle 23
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score423.96
Rank#5  Overall
#1  Document stores
Score1234.27
Rank#1  Overall
#1  Relational DBMS
Websitewww.cockroachlabs.comwww.mongodb.comwww.oracle.com/­database
Technical documentationwww.cockroachlabs.com/­docswww.mongodb.com/­docs/­manualdocs.oracle.com/­en/­database
DeveloperCockroach LabsMongoDB, IncOracle
Initial release201520091980
Current release23.1.1, May 20236.0.7, June 202323c, September 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.commercial inforestricted free version is available
Cloud-based only infoOnly available as a cloud servicenono infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
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 languageGoC++C and C++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Solaris
Windows
AIX
HP-UX
Linux
OS X
Solaris
Windows
z/OS
Data schemedynamic schemaschema-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.yes infoSchemaless in JSON and XML columns
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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.noyes
Secondary indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infowith proprietary extensions
APIs and other access methodsJDBCGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
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
Kotlin
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
C
C#
C++
Clojure
Cobol
Delphi
Eiffel
Erlang
Fortran
Groovy
Haskell
Java
JavaScript
Lisp
Objective C
OCaml
Perl
PHP
Python
R
Ruby
Scala
Tcl
Visual Basic
Server-side scripts infoStored proceduresnoJavaScriptPL/SQL infoalso stored procedures in Java possible
Triggersnoyes infoin MongoDB Atlas onlyyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal 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 RAFTSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.Sharding, horizontal partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno infocan be realized in PL/SQL
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationACID infoisolation level can be parameterized
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infooptional, enabled by defaultyes
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.2yes infoVersion 12c introduced the new option 'Oracle Database In-Memory'
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBMongoDBOracle
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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 partiesStudio 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
Devart ODBC driver for Oracle accesses Oracle databases from ODBC-compliant reporting, analytics, BI, and ETL tools on both 32 and 64-bit Windows, macOS, and Linux.
» more

Navicat for Oracle improves the efficiency and productivity of Oracle developers and administrators with a streamlined working environment.
» more

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

More resources
CockroachDBMongoDBOracle
DB-Engines blog posts

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

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Architecting eCommerce Platforms for Zero Downtime on Black Friday and Beyond
25 November 2016, Tony Branson (guest author)

show all

Conferences, events and webinars

Intro to MongoDB
Webinar, 11am ET, 1 May 2024

Oracle Cloud World
Las Vegas, 9-12 September 2024

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

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

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

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

provided by Google News

MongoDB, Inc. to Host Investor Session at MongoDB.local NYC 2024
18 April 2024, StreetInsider.com

MongoDB (NASDAQ:MDB) shareholders have earned a 23% CAGR over the last five years
14 April 2024, Yahoo Finance

MongoDB (NASDAQ:MDB) Price Target Cut to $440.00 by Analysts at KeyCorp
18 April 2024, MarketBeat

'Initial Wave Of AI Software Growth' To Spur Microsoft, Salesforce, Palantir, MongoDB, Oracle, Snowflake,
15 April 2024, Benzinga

Proper SQL comes to MongoDB applications .. with the Oracle Database!
2 April 2024, Oracle

provided by Google News

Blog Theme - Details
17 April 2024, Oracle

RSA Conference 2024: The Art of Possible
16 April 2024, Oracle

Proper SQL comes to MongoDB applications .. with the Oracle Database!
2 April 2024, Oracle

Oracle and Microsoft bring Oracle Database@Azure to Europe
14 March 2024, Oracle

Maximize database performance with Oracle Exadata and Oracle Linux
27 March 2024, Oracle

provided by Google News



Share this page

Featured Products

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get 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

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

Present your product here