DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MongoDB vs. mSQL vs. Postgres-XL vs. Spark SQL vs. Sphinx

System Properties Comparison MongoDB vs. mSQL vs. Postgres-XL vs. Spark SQL vs. Sphinx

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonmSQL infoMini SQL  Xexclude from comparisonPostgres-XL  Xexclude from comparisonSpark SQL  Xexclude from comparisonSphinx  Xexclude from comparison
DescriptionOne 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 RDBMSBased on PostgreSQL enhanced with MPP and write-scale-out cluster featuresSpark SQL is a component on top of 'Spark Core' for structured data processingOpen source search engine for searching in data from different sources, e.g. relational databases
Primary database modelDocument storeRelational DBMSRelational DBMSRelational DBMSSearch engine
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
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score423.96
Rank#5  Overall
#1  Document stores
Score1.67
Rank#151  Overall
#70  Relational DBMS
Score0.52
Rank#256  Overall
#117  Relational DBMS
Score19.15
Rank#33  Overall
#20  Relational DBMS
Score6.03
Rank#60  Overall
#6  Search engines
Websitewww.mongodb.comhughestech.com.au/­products/­msqlwww.postgres-xl.orgspark.apache.org/­sqlsphinxsearch.com
Technical documentationwww.mongodb.com/­docs/­manualwww.postgres-xl.org/­documentationspark.apache.org/­docs/­latest/­sql-programming-guide.htmlsphinxsearch.com/­docs
DeveloperMongoDB, IncHughes TechnologiesApache Software FoundationSphinx Technologies Inc.
Initial release200919942014 infosince 2012, originally named StormDB20142001
Current release6.0.7, June 20234.4, October 202110 R1, October 20183.5.0 ( 2.13), September 20233.5.1, February 2023
License infoCommercial or Open SourceOpen 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 infoMozilla public licenseOpen Source infoApache 2.0Open Source infoGPL version 2, commercial licence available
Cloud-based only infoOnly available as a cloud serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nononono
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.
Implementation languageC++CCScalaC++
Server operating systemsLinux
OS X
Solaris
Windows
AIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
Linux
macOS
Linux
OS X
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeschema-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.yesyesyesyes
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyesyesno
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.noyes infoXML type, but no XML query functionalityno
Secondary indexesyesyesyesnoyes infofull-text index on all search fields
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Atlas SQL InterfaceA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersyes infodistributed, parallel query executionSQL-like DML and DDL statementsSQL-like query language (SphinxQL)
APIs and other access methodsGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesActionscript 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
C
C++
Delphi
Java
Perl
PHP
Tcl
.Net
C
C++
Delphi
Erlang
Java
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Python
R
Scala
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresJavaScriptnouser defined functionsnono
Triggersyes infoin MongoDB Atlas onlynoyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.nonehorizontal partitioningyes, utilizing Spark CoreSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
nonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
noneImmediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possiblenoyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationnoACID infoMVCCnono
Concurrency infoSupport for concurrent manipulation of datayesnoyesyesyes
Durability infoSupport for making data persistentyes infooptional, enabled by defaultyesyesyesyes infoThe original contents of fields are not stored in the Sphinx index.
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.2nonono
User concepts infoAccess controlAccess rights for users and rolesnofine grained access rights according to SQL-standardnono
More information provided by the system vendor
MongoDBmSQL infoMini SQLPostgres-XLSpark SQLSphinx
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 partiesStudio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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
MongoDBmSQL infoMini SQLPostgres-XLSpark SQLSphinx
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

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Conferences, events and webinars

Intro to MongoDB
Webinar, 11am ET, 1 May 2024

Recent citations in the news

MongoDB, Inc. (NASDAQ:MDB) Stock Holdings Lifted by Simplicity Solutions LLC
19 April 2024, Defense World

MongoDB, Inc. to Host Investor Session at MongoDB.local NYC 2024
18 April 2024, StreetInsider.com

MongoDB price target lowered to $440 from $490 at KeyBanc - TipRanks.com
18 April 2024, TipRanks

MongoDB (NASDAQ:MDB) shareholders have earned a 23% CAGR over the last five years
14 April 2024, Yahoo Finance

'Initial Wave Of AI Software Growth' To Spur Microsoft, Salesforce, Palantir, MongoDB, Oracle, Snowflake,
15 April 2024, Benzinga

provided by Google News

Make Your MySQL Server More Secure With These 7 Steps - MUO
1 December 2022, MakeUseOf

Writing a Web Service in Perl
9 July 2003, PCQuest

Higher Education PS rules out ghost students before PAC - Zambia
29 November 2018, diggers.news

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Googles Newest Challenger
11 January 2024, Free Press Journal

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

Beyond the Concert Hall: 5 Organizations Making a Difference in Classical Music in 2018 | WQXR Editorial
22 December 2018, WQXR Radio

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here