DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
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
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score9.99
Rank#47  Overall
#30  Relational DBMS
Score488.57
Rank#5  Overall
#1  Document stores
Score58.53
Rank#19  Overall
#3  Search engines
Websitewww.h2database.comwww.mongodb.comlucene.apache.org/­solr
Technical documentationwww.h2database.com/­html/­main.htmldocs.mongodb.com/­manuallucene.apache.org/­solr/­resources.html
DeveloperThomas MuellerMongoDB, IncApache Software Foundation
Initial release200520092006
Current release2.1.210, January 20225.0.5, December 20218.11.1, December 2021
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.
  • 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.
  • 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 Connector for BISolr Parallel SQL Interface
APIs and other access methodsJDBC
ODBC
proprietary protocol using JSONJava 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
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
Immediate Consistency infocan be individually decided for each write operation
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’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 partiesCData: 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

Studio 3T: The world's favorite IDE for working with MongoDB
» more

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» 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

MongoDB 5.2 database improves time series capabilities
21 January 2022, TechTarget

MongoDB Target of Unusually Large Options Trading (NASDAQ:MDB)
27 January 2022, MarketBeat

MongoDB's Mark Porter on Database Trends and the 'Innovation Tax' | eWEEK
11 January 2022, eWeek

Why Snowflake, CrowdStrike, and MongoDB Crashed at the Open, Then Recovered
10 January 2022, The Motley Fool

Why Datadog, Appian, and MongoDB Crashed and Burned Today
5 January 2022, The Motley Fool

provided by Google News

SOLR: Under the Hood
18 January 2022, ETF Trends

The Energy Transition | Ofgem made heat networks regulator and SoLR consultation
10 January 2022, Lexology

Ofgem opens the door for third party finance providers to participate in the Supplier of Last Resort process
11 January 2022, JD Supra

Bulb energy: counting the cost of special administration
6 January 2022, Lexology

Ofgem appoints British Gas to take on customers of Together Energy Retail Ltd
24 January 2022, Ofgem

provided by Google News

Job opportunities

Front-end Web Developer
Simpleview, Remote

MongoDB
State Tech, Remote

Cloud Support Engineer I - Databases
Amazon Web Services, Inc., Remote

Account Administrator (NYC/Charlotte/Remote)
Nomad Health, Remote

Software Engineer
My Secure Advantage, Inc., Remote

Junior Backend Developer for ISTA
Ciklum, Remote

Systems Administrator IV (contract)
Best Buy, Remote

IBM WebCommerce Admin
Audax Labs, Seattle, WA

Software Engineer – Apache Solr
Ivy Tech Solutions inc, Remote

SENIOR SOLR DEVELOPER (RETAIL)
Overstock.com, Midvale, UT

jobs by Indeed



Share this page

Featured Products

Vertica logo

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

Neo4j logo

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

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.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here