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

DBMS > IBM Db2 vs. MongoDB vs. Oracle Berkeley DB

System Properties Comparison IBM Db2 vs. MongoDB vs. Oracle Berkeley DB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMongoDB  Xexclude from comparisonOracle Berkeley DB  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureWidely used in-process key-value store
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument storeKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Spatial 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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score124.40
Rank#9  Overall
#6  Relational DBMS
Score429.83
Rank#5  Overall
#1  Document stores
Score1.90
Rank#127  Overall
#22  Key-value stores
#3  Native XML DBMS
Websitewww.ibm.com/­products/­db2www.mongodb.comwww.oracle.com/­database/­technologies/­related/­berkeleydb.html
Technical documentationwww.ibm.com/­docs/­en/­db2www.mongodb.com/­docs/­manualdocs.oracle.com/­cd/­E17076_05/­html/­index.html
DeveloperIBMMongoDB, IncOracle infooriginally developed by Sleepycat, which was acquired by Oracle
Initial release1983 infohost version20091994
Current release12.1, October 20167.0.5, January 202418.1.40, May 2020
License infoCommercial or Open Sourcecommercial infofree version is availableOpen 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 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.
  • 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.
Implementation languageC and C++C++C, Java, C++ (depending on the Berkeley DB edition)
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Solaris
Windows
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Data schemeyesschema-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.schema-free
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialno
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.yes infoonly with the Berkeley DB XML edition
Secondary indexesyesyesyes
SQL infoSupport of SQLyesRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infoSQL interfaced based on SQLite is available
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
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
.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
Server-side scripts infoStored proceduresyesJavaScriptno
Triggersyesyes infoin MongoDB Atlas onlyyes infoonly for the SQL API
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux VersionSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.none
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyes
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.yes infoIn-memory storage engine introduced with MongoDB version 3.2yes
User concepts infoAccess controlfine grained access rights according to SQL-standardAccess rights for users and rolesno
More information provided by the system vendor
IBM Db2 infoformerly named DB2 or IBM Database 2MongoDBOracle Berkeley DB
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 partiesCData: 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

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 2MongoDBOracle Berkeley DB
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

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, precisely.com

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, IBM

Caching Query Results with QuickSelect Improves Db2 z/OS Workload Performance
11 July 2024, Database Trends and Applications

provided by Google News

MongoDB (MDB) Class Action Lawsuit has Commenced:
18 July 2024, GlobeNewswire

Concurrent Investment Advisors LLC Decreases Stock Position in MongoDB, Inc. (NASDAQ:MDB)
18 July 2024, American Banking and Market News

MongoDB, Inc. Investor Notice: Shareholder Rights Law Firm Robbins LLP Reminds Shareholders of the MDB Class Action Lawsuit
17 July 2024, Business Wire

MongoDB, Inc. Securities Fraud Class Action Lawsuit Pending: Contact The Gross Law Firm Before September 9, 2024 to Discuss Your Rights - MDB
17 July 2024, PR Newswire

In the Era of Gen AI MongoDB, PostgreSQL Will Run out of Gas, DataStax Won’t
18 July 2024, AIM

provided by Google News

Recognition For NoSQL Pioneers
5 July 2021, iProgrammer

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Margo I. Seltzer
18 August 2020, Berkman Klein Center

Oracle buys Sleepycat Software
14 February 2006, MarketWatch

What is NoSQL and How do NoSQL Databases Work?
28 February 2022, TechTarget

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.

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.

SingleStore logo

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

Present your product here