DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > MongoDB vs. OpenSearch

System Properties Comparison MongoDB vs. OpenSearch

Please select another system to include it in the comparison.

Our visitors often compare MongoDB and OpenSearch with Elasticsearch, PostgreSQL and MySQL.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonOpenSearch  Xexclude from comparison
DescriptionOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA distributed, RESTful search and analytics engine forked from Elasticsearch and based on Apache Lucene
Primary database modelDocument storeSearch engine
Vector 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
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score402.51
Rank#5  Overall
#1  Document stores
Score17.38
Rank#32  Overall
#4  Search engines
#2  Vector DBMS
Websitewww.mongodb.comgithub.com/­opensearch-project
opensearch.org
Technical documentationwww.mongodb.com/­docs/­manualopensearch.org/­docs/­latest
DeveloperMongoDB, IncThe OpenSearch Software Foundation
Initial release20092021
Current release7.0.5, January 20242.19, February 2025
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.Open Source infoApache Version 2.0
Cloud-based only infoOnly available as a cloud serviceno 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.
Implementation languageC++Java
Server operating systemsLinux
OS X
Solaris
Windows
All OS with a Java VM
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.schema-free infoFlexible type definitions. Once a type is defined, it is persistent
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
Secondary indexesyesyes infoAll search fields are automatically indexed
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like query language
APIs and other access methodsGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Java API
RESTful HTTP/JSON API
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
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby infoElasticsearch client
Server-side scripts infoStored proceduresJavaScriptyes
Triggersyes infoin MongoDB Atlas onlyyes infoby using the 'percolation' feature
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.Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Eventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, all
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationno
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyes infooptional, enabled by defaultyes
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.2
User concepts infoAccess controlAccess 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 parties
» more

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

More resources
MongoDBOpenSearch
DB-Engines blog posts

DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending
1 May 2025, DB-Engines

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

show all

Recent citations in the news

Will MongoDB (MDB) Beat Estimates Again in Its Next Earnings Report?
19 May 2025, MSN

MongoDB: Valuations Stretched, Needs Perfection To Deliver (NASDAQ:MDB)
19 May 2025, Seeking Alpha

Unpacking the Latest Options Trading Trends in MongoDB
19 May 2025, Benzinga

MongoDB (MDB) Stock Declines While Market Improves: Some Information for Investors
14 May 2025, Yahoo Finance

MongoDB Stock Analysis: Buy, Hold, or Sell?
6 May 2025, The Motley Fool

provided by Google News

OpenSearch 3.0 hits: First major release under Linux Foundation as it battles ElasticSearch for mindshare
7 May 2025, devclass

Zero-copy, Coordination-free approach to OpenSearch Snapshots
13 May 2025, Amazon Web Services (AWS)

OpenSearch in 2025: Much more than an Elasticsearch fork
28 April 2025, InfoWorld

OpenSearch 3.0 targets fast AI search with MCP and GPU-powered vectors
7 May 2025, Blocks and Files

OpenSearch revs up AI workloads with GPU-accelerated vector search
6 May 2025, SiliconANGLE

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for 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

Milvus logo

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

Neo4j logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here