DB-EnginesExtremeDB: the first and only COTS deterministic embedded database management system for mission- and safety-critical hard real-time applicationsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > IBM Db2 vs. MongoDB vs. mSQL vs. SQLite

System Properties Comparison IBM Db2 vs. MongoDB vs. mSQL vs. SQLite

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 comparisonmSQL infoMini SQL  Xexclude from comparisonSQLite  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 infrastructuremSQL (Mini SQL) is a simple and lightweight RDBMSWidely used embeddable, in-process RDBMS
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument storeRelational DBMSRelational DBMS
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
Score167.18
Rank#7  Overall
#5  Relational DBMS
Score484.67
Rank#5  Overall
#1  Document stores
Score1.85
Rank#126  Overall
#61  Relational DBMS
Score128.68
Rank#9  Overall
#6  Relational DBMS
Websitewww.ibm.com/­analytics/­db2www.mongodb.comhughestech.com.au/­products/­msqlwww.sqlite.org
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGdocs.mongodb.com/­manualwww.sqlite.org/­docs.html
DeveloperIBMMongoDB, IncHughes TechnologiesDwayne Richard Hipp
Initial release1983 infohost version200919942000
Current release12.1, October 20165.0, July 20214.4, October 20213.37.0  (27 November 2021), November 2021
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.commercial infofree licenses can be providedOpen Source infoPublic Domain
Cloud-based only infoOnly available as a cloud servicenono 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 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++CC
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Solaris
Windows
AIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
server-less
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.yesyes infodynamic column types
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyes infonot rigid because of 'dynamic typing' concept.
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.nono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyesRead-only SQL queries via the MongoDB Connector for BIA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersyes infoSQL-92 is not fully supported
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
proprietary protocol using JSONJDBC
ODBC
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
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
C++
Delphi
Java
Perl
PHP
Tcl
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
Server-side scripts infoStored proceduresyesJavaScriptnono
Triggersyesyes infoin MongoDB Atlas onlynoyes
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.nonenone
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
nonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
none
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possiblenoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesnoyes infovia file-system locks
Durability infoSupport for making data persistentyesyes 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.2noyes
User concepts infoAccess controlfine grained access rights according to SQL-standardAccess rights for users and rolesnono
More information provided by the system vendor
IBM Db2 infoformerly named DB2 or IBM Database 2MongoDBmSQL infoMini SQLSQLite
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 metrics175 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 partiesNavicat 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

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
Navicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management 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 2MongoDBmSQL infoMini SQLSQLite
DB-Engines blog posts

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

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

show all

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

Qualys : Continuous Security Hardening and Monitoring for IBM® z/OS® Mainframes and Databases Using Qualys Policy Compliance
7 December 2021, marketscreener.com

Astadia Joins AWS Public Sector Partner Program
7 December 2021, Yahoo Finance

What is Db2? - Definition from Techopedia
31 August 2021, Techopedia

Hibernate Releases Version 1.0 of Reactive API
10 November 2021, InfoQ.com

IBM i PTF Guide, Volume 23, Number 46
17 November 2021, IT Jungle

provided by Google News

MongoDB sees traction in the enterprise as Q3 revenues jump 50%
7 December 2021, Diginomica

MongoDB: Sector Rotation Will Give You Future Buying Opportunities; Not Now
7 December 2021, Seeking Alpha

AWS DocumentDB not MongoDB-compatible, says MongoDB Inc
6 December 2021, The Register

MongoDB Resumes Uptrend, Analyst Raise Targets
7 December 2021, MarketBeat

MongoDB Announces a Pay-As-You-Go Offering with Enhanced Customer Experience in AWS Marketplace
30 November 2021, PRNewswire

provided by Google News

SD Times news digest: UserWay and ShortPoint announce partnership; Code Ninjas and Microsoft MakeCode collaboration; SQLite 3.37 release
29 November 2021, SDTimes.com

Thousands of Firefox users accidentally commit login cookies on GitHub
18 November 2021, The Register

Thousands of GitHub Users Unknowingly Committed Their Firefox Login Cookies, Risking Account Takeovers and ...
29 November 2021, CPO Magazine

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

SQLite Extraction of Oracle Tables Tools, Methods and Pitfalls
20 July 2021, Linux Journal

provided by Google News

Job opportunities

DB2 Database Administrator
Genesis Consulting LLC, Remote

Database Developer (DB2)
Zenaide Technologies, Remote

DB2 Database Administrator
M9 Solutions, Remote

DB2 Main Frame
Intone Networks, Columbus, OH

Sr. SQL Database Administrator
Press Ganey Associates, Inc., Remote

Customer Engineer, Data & AI
Microsoft, New York, NY

MongoDB
State Tech, Remote

Software Test Engineer (entry-level)
Real-Time Technology Solutions, Manhattan, NY

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Procurement Buyer
Snyk, Massachusetts

Senior Programmer Analyst
Information Consulting Services of Delaware Valley, Philadelphia, PA

Java Programmer/Developer
Intone Networks, Philadelphia, PA

Java / PHP Programmer Analyst
Intone Networks, Philadelphia, PA

Sr. Developer/Programmer Analyst
Medical Guardian, Philadelphia, PA

Senior Programmer Analyst
Medical Guardian LLC, Philadelphia, PA

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

Software Developer
Vanguard Appraisals, Inc., Cedar Rapids, IA

Software Engineering - Entry Level
Xerox, Rochester, NY

Developer
Self Storage Base, Irvine, CA

Junior Web Developer
HealPay, Ann Arbor, MI

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

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

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.

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Present your product here