DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. MongoDB vs. Riak KV

System Properties Comparison IBM Db2 vs. MongoDB vs. Riak KV

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 comparisonRiak KV  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 infrastructureDistributed, fault tolerant key-value store
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument storeKey-value store infowith links between data sets and object tags for the creation of secondary indexes
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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score160.32
Rank#7  Overall
#5  Relational DBMS
Score478.24
Rank#5  Overall
#1  Document stores
Score6.63
Rank#64  Overall
#8  Key-value stores
Websitewww.ibm.com/­analytics/­db2www.mongodb.comriak.com/­products/­riak-kv
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGdocs.mongodb.com/­manual
DeveloperIBMMongoDB, IncBasho Technologies
Initial release1983 infohost version20092009
Current release12.1, October 20165.0.8, April 20222.1.0, April 2015
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 infoApache version 2, commercial enterprise edition
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.
  • ScaleGrid for MongoDB: Fully managed hosting for MongoDB database on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageC and C++C++Erlang
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Solaris
Windows
Linux
OS X
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.no
Secondary indexesyesyesrestricted
SQL infoSupport of SQLyesRead-only SQL queries via the MongoDB Connector for BIno
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
proprietary protocol using JSONHTTP API
Native Erlang Interface
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
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 infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresyesJavaScriptJavaScript and Erlang
Triggersyesyes infoin MongoDB Atlas onlyyes infopre-commit hooks and post-commit hooks
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.Sharding infono "single point of failure"
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
selectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleno infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationno
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.yes infoIn-memory storage engine introduced with MongoDB version 3.2
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 2MongoDBRiak KV
Specific characteristicsMongoDB’s application data platform provides developers a unified interface to power...
» more
Competitive advantagesThe MongoDB platform can be used by developers building transactional, operational,...
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metrics200+ million downloads, over 1.5M Atlas database clusters under management handling...
» 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 partiesPercona: Database problems? Not on your watch.
Databases run better with Percona.
» 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
IBM Db2 infoformerly named DB2 or IBM Database 2MongoDBRiak KV
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

Google Needs Another Database To Attack Oracle, DB2, And SQL Server Directly
16 May 2022, The Next Platform

Database And Developer Enhancements In IBM i 7.5 And 7.4 TR6
9 May 2022, IT Jungle

Announcement Day: IBM Lifts The Veil On IBM i 7.5 And 7.4 TR6
3 May 2022, IT Jungle

Db2, where are you? Big Blue is oddly reluctant to discuss recent enhancements to its flagship database
23 December 2021, The Register

IBM software is coming to AWS as SaaS. Is Big Blue giving up on its cloud?
12 May 2022, The Stack

provided by Google News

Why MongoDB, HubSpot, and DocuSign Fell Hard Today
24 May 2022, The Motley Fool

Why MongoDB Stock Went Up on Friday
20 May 2022, The Motley Fool

MongoDB (MDB) Set to Announce Quarterly Earnings on Wednesday
25 May 2022, Defense World

MongoDB: A Software Developers Perspective (NASDAQ:MDB)
28 April 2022, Seeking Alpha

MongoDB just opened a hybrid Philly office for its local employees
11 May 2022, Technical.ly

provided by Google News

Oren Eini on RavenDB, including Consistency Guarantees and C# as the Implementation Language
23 May 2022, InfoQ.com

Wire Rope Sheaves Market 2022 | Pointing to Capture Largest Growth – 2026 – The Daily Vale
25 May 2022, The Daily Vale

Is Riak A Good NoSQL Database Option?
1 July 2019, Analytics India Magazine

Riak NoSQL Database: Use Cases and Best Practices
23 December 2011, InfoQ.com

Basho rolls out open source version of its Riak TS database
5 May 2016, ZDNet

provided by Google News

Job opportunities

Overnight SQL Database Administrator
Xtivia Inc, Remote

Database Administrator
Client Resources, Inc., Remote

DB2 Database Administrator
LOCKHEED MARTIN CORPORATION, Moorestown, NJ

Mainframe DB2 DBA
Cognizant, Auburn, AL

IBM Db2 Database Administrator
West Advanced Technologies (WATI), Downey, CA

MongoDB Developer
MAMSYS CONSULTING SERVICES, Remote

MongoDB Developer
Techspace Solutions, Remote

MongoDB Consultant- Full Time Role
Visionary Innovative Technology Solutions, New York, NY

WordPress / PHP Developer (Remote - Part Time)
Realized Information Systems, Remote

MongoDB Architect
Winwire Technologies, Remote

Cloud Support Engineer I - Databases, Premium Support
Amazon Web Services, Inc., Remote

Senior MySQL Database Administrator
Scientific Games, Remote

Cloud Support Engineer I - Databases
Amazon Web Services, Inc., Herndon, VA

Software Engineer
IQVIA, Remote

Software Engineer II
Spireon, Remote

jobs by Indeed



Share this page

Featured Products

Redis logo

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

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

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

Neo4j logo

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

Present your product here