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

DBMS > Apache Druid vs. MongoDB vs. Spark SQL

System Properties Comparison Apache Druid vs. MongoDB vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonMongoDB  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelRelational DBMS
Time Series DBMS
Document storeRelational DBMS
Secondary database modelsSpatial 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.32
Rank#129  Overall
#63  Relational DBMS
#9  Time Series DBMS
Score455.18
Rank#5  Overall
#1  Document stores
Score20.06
Rank#36  Overall
#22  Relational DBMS
Websitedruid.apache.orgwww.mongodb.comspark.apache.org/­sql
Technical documentationdruid.apache.org/­docs/­latest/­designdocs.mongodb.com/­manualspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperApache Software Foundation and contributorsMongoDB, IncApache Software Foundation
Initial release201220092014
Current release25.0.0, January 20236.0.1, August 20223.3.0 ( 2.13), June 2022
License infoCommercial or Open SourceOpen Source infoApache license v2Open 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 2.0
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.
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++Scala
Server operating systemsLinux
OS X
Unix
Linux
OS X
Solaris
Windows
Linux
OS X
Windows
Data schemeyes infoschema-less columns are supportedschema-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.yes
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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 indexesyesyesno
SQL infoSupport of SQLSQL for queryingRead-only SQL queries via the MongoDB Connector for BISQL-like DML and DDL statements
APIs and other access methodsJDBC
RESTful HTTP/JSON API
proprietary protocol using JSONJDBC
ODBC
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
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
Java
Python
R
Scala
Server-side scripts infoStored proceduresnoJavaScriptno
Triggersnoyes infoin MongoDB Atlas onlyno
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.yes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes
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 integritynono infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoMulti-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.noyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemAccess rights for users and rolesno

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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» 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
Apache DruidMongoDBSpark SQL
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 25.0 Delivers Multi-Stage Query Engine and ...
19 January 2023, InfoQ.com

Stream Big, Think Bigger: Analyze Streaming Data at Scale
27 January 2023, DevOps.com

As CIO budgets tighten, Apache Superset looks like a Big Data winner
12 January 2023, The Stack

Imply Announces Major Open Source Contribution for Apache Druid ...
20 September 2022, businesswire.com

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

provided by Google News

MongoDB, Inc. (NASDAQ:MDB) Shares Acquired by Bank Julius ...
26 January 2023, MarketBeat

Why Datadog, MongoDB, and CrowdStrike Were Sinking Today
25 January 2023, The Motley Fool

Cloud-Computing Stocks Rally as Microsoft Results Bring Relief ...
25 January 2023, Bloomberg

Premarket Mover: Mongodb Inc (MDB) Down 2.44%
25 January 2023, InvestorsObserver

Satori Expands Support to NoSQL Databases, Streamlines Secure ...
19 January 2023, Datanami

provided by Google News

Apache® Kyuubi Becomes Top-Level Project
19 January 2023, GlobeNewswire

A Deep Dive into Custom Spark Transformers for ML Pipelines
27 July 2022, CrowdStrike

Data Engineer (Apache Airflow, Hive, Spark, SQL, AWS)
11 October 2022, EPAM

Accelerating SQL Queries on a Modern Real-Time Database
3 November 2022, The New Stack

Data chess game: Databricks vs. Snowflake, part 1
25 July 2022, VentureBeat

provided by Google News

Job opportunities

Kubernetes Admin-Apache Druid cluster
Qcentrio, United States

MySQL DBA
Sporty Group, Remote

DevOps Engineer Fully Remote
Mi-C3 International, Malta, MT

Backend Engineer
Sporty Group, Remote

DevOps Engineer
Sporty Group, Remote

General Apply
Bevy, San Francisco, CA

Software Engineer
Humulo Engineering, Remote

MongoDB Architect/SrDev
Tech Mahindra / Microsoft, Remote

MongoDB Consultant
Pristine IT, Remote

Database Performance Consultant - MongoDB
Percona, Remote

Scala/Spark Data Engineer
ITI Data, Remote

Entry Level Data Engineer with BigData - 1
I28 Technologies Corporation, Remote

Big Data Support Engineer (Spark, SQL)
Teamware Solutions, United States

AWS DATA ENGINEER_(Scala/Spark)
Sunixa Solutions, Remote

Senior Member of Technical Staff
AT&T, Middletown, NJ

jobs by Indeed



Share this page

Featured Products

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

The definitive guide for Cassandra

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

Neo4j logo

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

Redis logo

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

Present your product here