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 > MongoDB vs. Neo4j vs. SurrealDB

System Properties Comparison MongoDB vs. Neo4j vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonNeo4j  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureScalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelDocument storeGraph DBMSDocument store
Graph 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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score419.15
Rank#5  Overall
#1  Document stores
Score49.99
Rank#22  Overall
#1  Graph DBMS
Score0.99
Rank#223  Overall
#36  Document stores
#20  Graph DBMS
Websitewww.mongodb.comneo4j.comsurrealdb.com
Technical documentationwww.mongodb.com/­docs/­manualneo4j.com/­docssurrealdb.com/­docs
DeveloperMongoDB, IncNeo4j, Inc.SurrealDB Ltd
Initial release200920072022
Current release6.0.7, June 20235.14, November 2023
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 infoGPL version3, commercial licenses availableOpen Source
Cloud-based only infoOnly available as a cloud serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nono
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.Neo4j Aura: Neo4j’s fully managed cloud service: The zero-admin, always-on graph database for cloud developers.
Implementation languageC++Java, ScalaRust
Server operating systemsLinux
OS X
Solaris
Windows
Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
Linux
macOS
Windows
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 and schema-optionalschema-free
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyesyes
Secondary indexesyesyes infopluggable indexing subsystem, by default Apache Lucene
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Atlas SQL InterfacenoSQL-like query language
APIs and other access methodsGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
GraphQL
RESTful HTTP API
WebSocket
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
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresJavaScriptyes infoUser defined Procedures and Functions
Triggersyes infoin MongoDB Atlas onlyyes infovia event handler
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.yes using Neo4j Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Causal Clustering using Raft protocol infoavailable in in Enterprise Version only
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Causal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyes infoRelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infooptional, enabled by defaultyesyes
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 rolesUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)yes, based on authentication and database rules
More information provided by the system vendor
MongoDBNeo4jSurrealDB
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Neo4j delivers graph technology that has been battle tested for performance and scale...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
Neo4j is the market leader, graph database category creator, and the most widely...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Real-Time Recommendations Master Data Management Identity and Access Management Network...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Over 800 commercial customers and over 4300 startups use Neo4j. Flagship customers...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Neo4j boasts the world's largest graph database ecosystem with more than 140 million...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
GPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
» more
News

Unifying LLMs and Knowledge Graphs: Definitions, Use Cases & Best Practices
7 December 2023

This Week in Neo4j: RAG, Dashboards, QGIS Plugins, Needle and more
2 December 2023

Top 10 Sessions From NODES 2023
28 November 2023

This Week in Neo4j: Py2Neo, Time Series, Data Clusters, Graph Database Internals and more
25 November 2023

AWS and Neo4j Join Forces to Solve LLM Hallucinations and Evolve GenAI
21 November 2023

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

Studio 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

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

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

Applying Graph Analytics to Game of Thrones
12 June 2019, Amy Hodler & Mark Needham, Neo4j (guest author)

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

The openCypher Project: Help Shape the SQL for Graphs
22 December 2015, Emil Eifrem (guest author)

show all

Recent citations in the news

Why MongoDB Stock Dropped Today
6 December 2023, The Motley Fool

MongoDB earnings clear Wall Street’s bar, but stock falls
5 December 2023, MarketWatch

Why MongoDB (MDB) Stock Is Nosediving
6 December 2023, Yahoo Finance

MDB Stock Falls Despite Strong Earnings From MongoDB
6 December 2023, Investor's Business Daily

MongoDB Gets a Double-Take As Its Charts Show a Likely Double-Top
6 December 2023, RealMoney

provided by Google News

NoSQL Market Reach USD 86.3 Billion by 2032 at 28.1% CAGR | Top Players Such as - Riak, Neo4j and Objectivity
8 December 2023, EIN News

Neo4j and AWS team up to enhance generative AI applications with graph database technology
21 November 2023, SiliconANGLE News

Neo4j Signs Strategic Collaboration Agreement with AWS to Enhance Generative AI Results While Addressing AI ...
21 November 2023, PR Newswire

Neo4j announces partnership with AWS to reduce AI hallucinations
21 November 2023, SDTimes.com

Neo4j Finds the Vector for Graph-LLM Integration
22 August 2023, Datanami

provided by Google News

Cloud, privacy and AI: Trends defining the future of data and databases
27 September 2023, Sifted

Introducing SurrealDB: A Quantum Leap in Database Technology
11 September 2023, TechRound

Huckletree to open two new London hubs
25 July 2023, BusinessCloud

Rust and the OS, the Web, Database and Other Languages
21 November 2022, The New Stack

Daily Crunch: Salesforce CEO admits ‘we hired too many people’ as company lays off +7,000 employees
4 January 2023, TechCrunch

provided by Google News

Job opportunities

MongoDB with Azure Engineer
Ampstek LLC, Remote

MongoDB Data Engineer
Digital Plus Solutions, Remote

Remote Junior Backend Developer
We Inform LLC, Remote

Senior Vertica DBA
AgileEngine, Remote

MONGODB DEVELOPER/ADMIN
Averon Solutions, Edison, NJ

Account Executive - Federal Civilian Market
Neo4j, Washington, DC

Machine Learning Developer
Bullfrog Ai Management Llc, Remote

Backend Engineer (All Levels)
Current, New York, NY

Data Scientist (-)
DCI Solutions, Bethesda, MD

Sales Development Representative (Remote)
Neo4j, Chicago, IL

jobs by Indeed



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

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

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.

Present your product here