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

System Properties Comparison Ehcache vs. Memgraph vs. MongoDB vs. PostgreSQL vs. Rockset

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonMemgraph  Xexclude from comparisonMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRockset  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsAn 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 SQLA scalable, reliable search and analytics service in the cloud, built on RocksDB
Primary database modelKey-value storeGraph DBMSDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document store
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
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Relational DBMS
Search engine
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.89
Rank#67  Overall
#8  Key-value stores
Score3.02
Rank#98  Overall
#8  Graph DBMS
Score421.65
Rank#5  Overall
#1  Document stores
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score0.79
Rank#211  Overall
#35  Document stores
Websitewww.ehcache.orgmemgraph.comwww.mongodb.comwww.postgresql.orgrockset.com
Technical documentationwww.ehcache.org/­documentationmemgraph.com/­docswww.mongodb.com/­docs/­manualwww.postgresql.org/­docsdocs.rockset.com
Social network pagesLinkedInTwitterFacebookGitHubDiscord
DeveloperTerracotta Inc, owned by Software AGMemgraph LtdMongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developerRockset
Initial release2009201720091989 info1989: Postgres, 1996: PostgreSQL2019
Current release3.10.0, March 20226.0.7, June 202316.3, May 2024
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses availableOpen Source infoBSL 1.1; commercial license for enterprise edition 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 infoBSDcommercial
Cloud-based only infoOnly available as a cloud servicenonono infoMongoDB available as DBaaS (MongoDB Atlas)noyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • 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.
  • PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageJavaC and C++C++CC++
Server operating systemsAll OS with a Java VMLinuxLinux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
hosted
Data schemeschema-freeschema-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.yesschema-free
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesdynamic 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.nonoyes infospecific XML-type available, but no XML query functionality.no infoingestion from XML files supported
Secondary indexesnoyesyesall fields are automatically indexed
SQL infoSupport of SQLnonoRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infostandard with numerous extensionsRead-only SQL queries, including JOINs
APIs and other access methodsJCacheBolt protocol
Cypher query language
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
HTTP REST
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
Go
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyes infoCache Event Listenersyes infoin MongoDB Atlas onlyyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta ServerSharding 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 hashAutomatic sharding
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoby using Terracotta ServerMulti-source replication using RAFTMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemTunable Consistency (Strong, Eventual, Weak)Immediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate ConsistencyEventual Consistency
Foreign keys infoReferential integritynoyes inforelationships in graphsno infotypically not used, however similar functionality with DBRef possibleyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infosupports JTA and can work as an XA resourceACID infowith snapshot isolationMulti-document ACID Transactions with snapshot isolationACIDno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyes infousing a tiered cache-storage approachyes infowith periodic snapshot and write-ahead logging (WAL) of changesyes infooptional, enabled by defaultyesyes
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 controlnoUsers, roles and permissionsAccess rights for users and rolesfine grained access rights according to SQL-standardAccess rights for users and organizations can be defined via Rockset console
More information provided by the system vendor
EhcacheMemgraphMongoDBPostgreSQLRockset
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 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
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

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

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

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

pgDash: In-Depth PostgreSQL Monitoring.
» 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

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

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

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

Recent citations in the news

Atlassian asks customers to patch critical Jira vulnerability
22 July 2021, BleepingComputer

Critical Jira Flaw in Atlassian Could Lead to RCE
22 July 2021, Threatpost

DZone Coding Java JBoss 5 to 7 in 11 steps
9 January 2014, dzone.com

provided by Google News

Enhance Your Network with the Power of a Graph DB
4 May 2024, Towards Data Science

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

Croatian graph database startup Memgraph raises €8M with Microsoft as key investor, plans to boost R&D
20 October 2021, The Recursive

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

provided by Google News

Principal Financial Group Inc. Has $26.30 Million Stock Holdings in MongoDB, Inc. (NASDAQ:MDB)
20 May 2024, Defense World

Principal Financial Group Inc. Sells 2,742 Shares of MongoDB, Inc. (NASDAQ:MDB)
20 May 2024, MarketBeat

Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock | Amazon Web ...
2 May 2024, AWS Blog

Is Now An Opportune Moment To Examine MongoDB, Inc. (NASDAQ:MDB)?
14 May 2024, Simply Wall St

A Closer Look at 27 Analyst Recommendations For MongoDB - MongoDB (NASDAQ:MDB)
17 May 2024, Benzinga

provided by Google News

Let PostgreSQL Pick An Index For You
20 May 2024, iProgrammer

Continuously replicate Amazon DynamoDB changes to Amazon Aurora PostgreSQL using AWS Lambda | Amazon ...
14 May 2024, AWS Blog

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, blogs.oracle.com

ServiceNow trades MariaDB for RaptorDB (PostgreSQL)
13 May 2024, Techzine Europe

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, azure.microsoft.com

provided by Google News

Rockset upgrades database to meet the needs of AI hybrid search – Blocks and Files
20 May 2024, Blocks & Files

Rockset Announces Native Support for Hybrid Search to Power AI Apps
17 May 2024, Datanami

Data Management News for the Week of May 17; Updates from Anomalo, DataStax, Rockset & More
16 May 2024, Solutions Review

Rockset launches native support for hybrid vector and text search to power AI apps
16 May 2024, SiliconANGLE News

Rockset Hybrid Search Release Sets New Course for Vector Databases
16 May 2024, Datanami

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

RaimaDB logo

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

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

Milvus logo

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

Present your product here