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. Memgraph vs. MongoDB vs. PostgreSQL

System Properties Comparison H2 vs. Memgraph vs. MongoDB vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMemgraph  Xexclude from comparisonMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.An open source graph database built for real-time streaming and compatible with Neo4jOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSGraph DBMSDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
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
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score3.02
Rank#98  Overall
#8  Graph DBMS
Score421.65
Rank#5  Overall
#1  Document stores
Score645.54
Rank#4  Overall
#4  Relational DBMS
Websitewww.h2database.commemgraph.comwww.mongodb.comwww.postgresql.org
Technical documentationwww.h2database.com/­html/­main.htmlmemgraph.com/­docswww.mongodb.com/­docs/­manualwww.postgresql.org/­docs
Social network pagesLinkedInTwitterFacebookGitHubDiscord
DeveloperThomas MuellerMemgraph LtdMongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2005201720091989 info1989: Postgres, 1996: PostgreSQL
Current release2.2.220, July 20236.0.7, June 202316.2, February 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infoFree license availableOpen 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 infoBSD
Cloud-based only infoOnly available as a cloud servicenonono 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.Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageJavaC and C++C++C
Server operating systemsAll OS with a Java VMLinuxLinux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesschema-free and schema-optionalschema-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 dateyesyesyes 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.nonoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLyesnoRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infostandard with numerous extensions
APIs and other access methodsJDBC
ODBC
Bolt protocol
Cypher query language
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJava.Net
C
C++
Elixir
Go
Haskell
Java
JavaScript
PHP
Python
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
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
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesyes infoin MongoDB Atlas onlyyes
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infodynamic graph partitioningSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.partitioning by range, list and (since PostgreSQL 11) by hash
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 replication using RAFTMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integrityyesyes inforelationships in graphsno infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infowith snapshot isolationMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyes infowith periodic snapshot and write-ahead logging (WAL) of changesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers, roles and permissionsAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
H2MemgraphMongoDBPostgreSQL
Specific characteristicsMemgraph directly connects to your streaming infrastructure so you and your team...
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesBusiness Source License ensures a future for the Memgraph community MAGE algorithm...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenariosGraph algorithms in bioinformatics Social network analysis Cryptocurrency network...
» more
AI-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 modelsYou can check out our pricing model and licenses on the company website .
» more
MongoDB 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 partiesNavicat 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

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
Instaclustr: Fully Hosted & Managed PostgreSQL
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

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

More resources
H2MemgraphMongoDBPostgreSQL
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

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Conferences, events and webinars

Intro to MongoDB
Webinar, 11am ET, 1 May 2024 (finished)

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

Graph database company Memgraph raises $9.34M
5 October 2021, VentureBeat

Graph Database Market to grow at a CAGR of 19.9% from 2022 to 2027|Increased demand for low-latency queries is a ...
7 August 2023, PR Newswire

Modeling and Navigating a Transportation Network with Memgraph
12 April 2021, Towards Data Science

London-based Memgraph raises over €8 million in seed funding to provide Streaming Graph Algorithms to the masses
5 October 2021, EU-Startups

Making Your Own Memory Graph To Detect Memory Issues On iOS
13 April 2021, hackernoon.com

provided by Google News

MongoDB unveils an AI app building program for the enterprise
1 May 2024, VentureBeat

MongoDB CEO Dev Ittycheria talks AI hype and the database evolution as he crosses 10-year mark
28 April 2024, TechCrunch

MongoDB Launches Program to Help Enterprises Implement GenAI
1 May 2024, PYMNTS.com

MongoDB aims to jumpstart AI app development with MAAP
1 May 2024, InfoWorld

MongoDB Launches 'One-Stop-Shop' Program For Building Advanced GenAI Applications
1 May 2024, CRN

provided by Google News

Automatically Generate Types for Your PostgreSQL Database
1 May 2024, The New Stack

Baffle Delivers Enterprise-Grade Data Security for PostgreSQL on Amazon RDS and Amazon Aurora
1 May 2024, Yahoo Finance

Why PostgreSQL Is the Bedrock for the Future of Data
26 April 2024, hackernoon.com

Crunchy Data Introduces Postgres Query Engine for Data Lakes, Crunchy Bridge for Analytics
30 April 2024, StreetInsider.com

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, Oracle

provided by Google News



Share this page

Featured Products

Neo4j logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

AllegroGraph logo

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

Present your product here