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 > IBM Db2 vs. Microsoft Azure Cosmos DB vs. MongoDB vs. OceanBase vs. Stardog

System Properties Comparison IBM Db2 vs. Microsoft Azure Cosmos DB vs. MongoDB vs. OceanBase vs. Stardog

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonMongoDB  Xexclude from comparisonOceanBase  Xexclude from comparisonStardog  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxGlobally distributed, horizontally scalable, multi-model database serviceOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA distributed, high available RDBMS compatible with Oracle and MySQLEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualization
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Graph DBMS
Key-value store
Wide column store
Document storeRelational DBMSGraph DBMS
RDF store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Spatial DBMSSpatial 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
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score29.04
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Score421.65
Rank#5  Overall
#1  Document stores
Score1.66
Rank#147  Overall
#68  Relational DBMS
Score2.02
Rank#123  Overall
#11  Graph DBMS
#6  RDF stores
Websitewww.ibm.com/­products/­db2azure.microsoft.com/­services/­cosmos-dbwww.mongodb.comen.oceanbase.comwww.stardog.com
Technical documentationwww.ibm.com/­docs/­en/­db2learn.microsoft.com/­azure/­cosmos-dbwww.mongodb.com/­docs/­manualen.oceanbase.com/­docs/­oceanbase-databasedocs.stardog.com
DeveloperIBMMicrosoftMongoDB, IncOceanBase infopreviously Alibaba and Ant GroupStardog-Union
Initial release1983 infohost version2014200920102010
Current release12.1, October 20166.0.7, June 20234.3.0, April 20247.3.0, May 2020
License infoCommercial or Open Sourcecommercial infofree version is availablecommercialOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoCommercial license availablecommercial info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/students
Cloud-based only infoOnly available as a cloud servicenoyesno infoMongoDB available as DBaaS (MongoDB Atlas)nono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • 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 languageC and C++C++C++Java
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
hostedLinux
OS X
Solaris
Windows
LinuxLinux
macOS
Windows
Data schemeyesschema-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.yesschema-free and OWL/RDFS-schema support
Typing infopredefined data types such as float or dateyesyes infoJSON typesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyes
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.yesno infoImport/export of XML data possible
Secondary indexesyesyes infoAll properties auto-indexed by defaultyesyesyes infosupports real-time indexing in full-text and geospatial
SQL infoSupport of SQLyesSQL-like query languageRead-only SQL queries via the MongoDB Atlas SQL InterfaceyesYes, compatible with all major SQL variants through dedicated BI/SQL Server
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
Proprietary native API
Table API
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
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
Ada infoin MySQL-compatible model
C infoin Oracle- and MySQL- compatible models
C++ infoin Oracle- and MySQL- compatible models
D infoin MySQL-compatible model
Delphi infoin MySQL-compatible model
Eiffel infoin MySQL-compatible model
Erlang infoin MySQL-compatible model
Haskell infoin MySQL-compatible model
Java infoin Oracle- and MySQL- compatible models
JavaScript (Node.js) infoin MySQL-compatible model
Objective-C infoin MySQL-compatible model
OCaml infoin MySQL-compatible model
Perl infoin MySQL-compatible model
PHP infoin MySQL-compatible model
Python infoin MySQL-compatible model
Ruby infoin MySQL-compatible model
Scheme infoin MySQL-compatible model
Tcl infoin MySQL-compatible model
.Net
Clojure
Groovy
Java
JavaScript
Python
Ruby
Server-side scripts infoStored proceduresyesJavaScriptJavaScriptPL/SQL in oracle-compatible mode, MySQL Stored Procedure in mysql-compatible modeuser defined functions and aggregates, HTTP Server extensions in Java
TriggersyesJavaScriptyes infoin MongoDB Atlas onlyyesyes infovia event handlers
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux VersionSharding infoImplicit feature of the cloud serviceSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.horizontal partitioning (by hash, key, range, range columns, list, and list columns)none
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)yes infoImplicit feature of the cloud serviceMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Multi-source replication using PaxosMulti-source replication in HA-Cluster
MapReduce infoOffers an API for user-defined Map/Reduce methodsnowith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*yesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Eventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate ConsistencyImmediate Consistency in HA-Cluster
Foreign keys infoReferential integrityyesnono infotypically not used, however similar functionality with DBRef possibleyesyes inforelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-item ACID transactions with snapshot isolation within a partitionMulti-document ACID Transactions with snapshot isolationACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2yes
User concepts infoAccess controlfine grained access rights according to SQL-standardAccess rights can be defined down to the item levelAccess rights for users and rolesAccess rights for users, groups and roles according to SQL-standardAccess rights for users and roles
More information provided by the system vendor
IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBMongoDBOceanBaseStardog
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
OceanBase Database is the world’s only native distributed database that has set new...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
High Availability : The five IDCs across three sites disaster recovery solution sets...
» 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
OceanBase Database has helped over 400 customers across industries upgrade their...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
TPC-C No.1 Performance , achieved a result of 707.35 million tpmC in the TPC-C benchmark...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
Mulan PubL v2 license for open source community edition. Commercial license for enterprise...
» 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 partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

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

More resources
IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBMongoDBOceanBaseStardog
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

Recent citations in the news

Start your AI journey with Microsoft Azure Cosmos DB—compete for $10K
9 May 2024, azure.microsoft.com

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

Public Preview: vCore-based Azure Cosmos DB for MongoDB cross-region disaster recovery (DR) | Atualizações do ...
22 May 2024, azure.microsoft.com

At Build, Microsoft Fabric, PostgreSQL and Cosmos DB get AI enhancements
21 May 2024, SiliconANGLE News

Public preview: Change partition key of a container in Azure Cosmos DB (NoSQL API) | Azure updates
27 March 2024, azure.microsoft.com

provided by Google News

MongoDB (MDB) to Release Quarterly Earnings on Thursday
23 May 2024, Defense World

This Is What Whales Are Betting On MongoDB - MongoDB (NASDAQ:MDB)
22 May 2024, Benzinga

Wall Street Analysts Just Trimmed Price Target for MongoDB, Inc. (NASDAQ:MDB)
21 May 2024, Yahoo Finance

Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock | Amazon Web ...
2 May 2024, AWS Blog

GitHub Copilot gets extensions
21 May 2024, TechCrunch

provided by Google News

OceanBase Inks Agreement with NTU Singapore in Database Optimization and Green Computing Advancements
31 January 2024, PR Newswire

Ant Group Will Cut Foreign Investors Out of Fast-Growing Database Business
22 August 2023, The Information

How Southeast Asia's Leading e-Wallets Saved Up to 40% in Database Costs - Fintech Singapore
25 March 2024, Fintech News Singapore

Haidilao’s 6-step recipe for successful digital transformation with OceanBase
4 August 2023, Tech in Asia

Alibaba's OceanBase distributed database aims at markets outside China
16 August 2022, InfoWorld

provided by Google News



Share this page

Featured Products

RaimaDB logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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