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

DBMS > H2 vs. MongoDB vs. Solr

System Properties Comparison H2 vs. MongoDB vs. Solr

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMongoDB  Xexclude from comparisonSolr  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA widely used distributed, scalable search engine based on Apache Lucene
Primary database modelRelational DBMSDocument storeSearch engine
Secondary database modelsSpatial DBMSSpatial 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
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.78
Rank#52  Overall
#32  Relational DBMS
Score439.42
Rank#5  Overall
#1  Document stores
Score47.09
Rank#24  Overall
#3  Search engines
Websitewww.h2database.comwww.mongodb.comsolr.apache.org
Technical documentationwww.h2database.com/­html/­main.htmlwww.mongodb.com/­docs/­manualsolr.apache.org/­resources.html
DeveloperThomas MuellerMongoDB, IncApache Software Foundation
Initial release200520092006
Current release2.2.220, July 20236.0.7, June 20239.3.0, July 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open 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
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.
Implementation languageJavaC++Java
Server operating systemsAll OS with a Java VMLinux
OS X
Solaris
Windows
All OS with a Java VM inforuns as a servlet in servlet container (e.g. Tomcat, Jetty is included)
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.yes infoDynamic Fields enables on-the-fly addition of new fields
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes infosupports customizable data types and automatic typing
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
Secondary indexesyesyesyes infoAll search fields are automatically indexed
SQL infoSupport of SQLyesRead-only SQL queries via the MongoDB Atlas SQL InterfaceSolr Parallel SQL Interface
APIs and other access methodsJDBC
ODBC
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Java API
RESTful HTTP/JSON API
Supported programming languagesJavaActionscript 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
.Net
Erlang
Java
JavaScript
any language that supports sockets and either XML or JSON
Perl
PHP
Python
Ruby
Scala
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJavaScriptJava plugins
Triggersyesyes infoin MongoDB Atlas onlyyes infoUser configurable commands triggered on index changes
Partitioning methods infoMethods for storing different data on different nodesnoneSharding 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
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesspark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reduce
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Eventual Consistency
Foreign keys infoReferential integrityyesno infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-document ACID Transactions with snapshot isolationoptimistic locking
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
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.yesyes infoIn-memory storage engine introduced with MongoDB version 3.2yes
User concepts infoAccess controlfine grained access rights according to SQL-standardAccess rights for users and rolesyes
More information provided by the system vendor
H2MongoDBSolr
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

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
H2MongoDBSolr
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

Elasticsearch replaced Solr as the most popular search engine
12 January 2016, Paul Andlinger

Enterprise Search Engines almost double their popularity in the last 12 months
2 July 2014, Paul Andlinger

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

show all

Recent citations in the news

Is MongoDB the Panacea for all LLM Problems?
20 September 2023, Analytics India Magazine

MongoDB Launches Atlas for Manufacturing and Automotive
21 September 2023, PR Newswire

Here's Why MongoDB's Growth Will Slow Down
3 September 2023, The Motley Fool

Stocks making the biggest moves premarket: Dell, MongoDB, Lululemon and more
1 September 2023, CNBC

Why Alphabet, C3.ai, and MongoDB Rallied Today
29 August 2023, The Motley Fool

provided by Google News

2023-09-18 | TSXV:SOLR | Press Release | Solar Alliance Energy Inc
18 September 2023, Stockhouse Publishing

SoLR payments to be extended after supplier pushback
25 August 2023, Utility Week

Pets for adoption locally - Tucson
12 September 2023, Arizona Daily Star

Solar Alliance Second Quarter Revenue Grows 51% Year Over Year ...
24 August 2023, GlobeNewswire

SearchStax Launches Serverless Solr Service to Accelerate Cloud ...
5 April 2023, PR Newswire

provided by Google News

Job opportunities

Software Developer
Sekady Capital LLC, Boise, ID

MONGODB DEVELOPER/ADMIN
Averon Solutions, Edison, NJ

Junior Software Developer
KANTAR, New York, NY

Developer Advocate
Oso, New York State

Web Development Opportunities
SuretyBonds.com, Remote

Junior Software Developer
KANTAR, New York, NY

Full Stack Cloud Developer
Gridiron IT, Washington, DC

Remote, Text Search Enginner with Solr or Lucene or Lucid Works
CapB InfoteK, Boston, MA

Full Stack Developer
Gridiron IT, Washington, DC

QA Tester - Protractor
Miracle Software Systems, North Carolina

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

AllegroGraph logo

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

Redis logo

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

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

Present your product here