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

DBMS > Apache Druid vs. IBM Db2 vs. MongoDB

System Properties Comparison Apache Druid vs. IBM Db2 vs. MongoDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMongoDB  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataCommon 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 infrastructure
Primary database modelRelational DBMS
Time Series DBMS
Relational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
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
Score2.39
Rank#124  Overall
#61  Relational DBMS
#8  Time Series DBMS
Score149.56
Rank#8  Overall
#5  Relational DBMS
Score477.90
Rank#5  Overall
#1  Document stores
Websitedruid.apache.orgwww.ibm.com/­analytics/­db2www.mongodb.com
Technical documentationdruid.apache.org/­docs/­latest/­designwww.ibm.com/­support/­knowledgecenter/­SSEPGGdocs.mongodb.com/­manual
DeveloperApache Software Foundation and contributorsIBMMongoDB, Inc
Initial release20121983 infohost version2009
Current release24.0.1, November 202212.1, October 20166.0.1, August 2022
License infoCommercial or Open SourceOpen Source infoApache license v2commercial 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.
Cloud-based only infoOnly available as a cloud servicenonono infoMongoDB available as DBaaS (MongoDB Atlas)
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
ScaleGrid for MongoDB Database: Fully managed hosting for MongoDB Database on a wide variety of cloud providers and On-Premises. Automate your management, scaling and backups through one centralized platform.
Implementation languageJavaC and C++C++
Server operating systemsLinux
OS X
Unix
AIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Solaris
Windows
Data schemeyes infoschema-less columns are supportedyesschema-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.
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatial
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 indexesyesyesyes
SQL infoSupport of SQLSQL for queryingyesRead-only SQL queries via the MongoDB Connector for BI
APIs and other access methodsJDBC
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
proprietary protocol using JSON
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C
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
Server-side scripts infoStored proceduresnoyesJavaScript
Triggersnoyesyes infoin MongoDB Atlas only
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding 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.
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesyes infowith separate tools (MQ, InfoSphere)Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Foreign keys infoReferential integritynoyesno infotypically not used, however similar functionality with DBRef possible
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDMulti-document ACID Transactions with snapshot isolation
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by default
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.2
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemfine grained access rights according to SQL-standardAccess rights for users and roles

More information provided by the system vendor

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

Percona: 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

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

More resources
Apache DruidIBM Db2 infoformerly named DB2 or IBM Database 2MongoDB
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

Apache Druid’s Role in Modern Data Analytics
10 November 2022, DevOps.com

Imply Announces Details of Druid Summit 2022 Virtual Conferences
21 November 2022, Datanami

BigDATAwire (Formerly Datanami) Reveals Winners of 2022 Readers' and Editors' Choice Awards
29 November 2022, Datanami

2022 Readers' & Editors' Choice Awards
29 November 2022, Datanami

Imply Announces Major Open Source Contribution for Apache Druid; New Financial Guarantee for Apache Druid Users
20 September 2022, businesswire.com

provided by Google News

Db2 Web Query Gets ML-Powered Insights, Cloud DW Connection
2 November 2022, IT Jungle

JDBC Driver Types Explained
15 November 2022, TheServerSide.com

Db2 goes 'cloud-first' as IBM struggles to lift database dinosaur
27 October 2022, The Register

Dremio pushes further into data warehouse land – Blocks and Files
28 November 2022, Blocks and Files

IBM sues Micro Focus, claims it copied Big Blue mainframe software
22 November 2022, The Register

provided by Google News

Why MongoDB Stock Popped 2% on Tuesday
29 November 2022, The Motley Fool

MongoDB's Dev Ittycheria on how the cloud is expanding developers' influence
28 November 2022, SiliconANGLE News

Searching on Encrypted Data: MongoDB's Queryable Encryption – Kenn White – ASW #221
28 November 2022, SC Media

MongoDB Named as a Leader in The Forrester Wave™: Translytical Data Platforms, Q4 2022
29 November 2022, Marketscreener.com

MongoDB University Launches New Curriculum to Fuel Developer Ecosystem and Close the Growing Tech Skills Gap
15 November 2022, PR Newswire

provided by Google News

Job opportunities

Kubernetes Admin-Apache Druid cluster
Qcentrio, United States

Senior Software Engineer, Data
Tapcart, Santa Monica, CA

Java Developer with Big Data
Intone Networks, Manhattan, NY

Staff Architect, Analytics Application Engineering
Change Healthcare, Wyoming

Tech Lead Manager, TikTok Experience Data Platform
TikTok, Mountain View, CA

Db2 DBA
Cognizant Technology Solutions, Dallas, TX

Database Admin
General Dynamics Information Technology, Indiana

Database Developer
BSI Solutions, Remote

Database Engineer
Huntington, Ohio

Part-Time Student-IT-Remote
John Deere, Moline, IL

Junior Backend Developer
Actum Lab, Austin, TX

MongoDB Engineer
Alltech International, Remote

Junior Developer
Media Reps, San Diego, CA

Sr Backend Engineer- Roundel(Remote Or Hybrid)
TARGET, Brooklyn Park, MN

Analytic Anchor
Ford Motor Company, Dearborn, 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.

Vertica logo

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

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

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

Present your product here