DBMS > MongoDB vs. Neo4j vs. Oracle Berkeley DB
System Properties Comparison MongoDB vs. Neo4j vs. Oracle Berkeley DB
Please select another system to include it in the comparison.
|Editorial information provided by DB-Engines
|MongoDB Xexclude from comparison
|Neo4j Xexclude from comparison
|Oracle Berkeley DB Xexclude from comparison
|One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure
|Scalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offerings
|Widely used in-process key-value store
|Primary database model
|Key-value store supports sorted and unsorted key sets
Native XML DBMS in the Oracle Berkeley DB XML version
|Secondary database models
Search engine integrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS Time Series Collections introduced in Release 5.0
Vector DBMS currently available in the MongoDB Atlas cloud service only
|Oracle originally developed by Sleepycat, which was acquired by Oracle
|6.0.7, June 2023
|5.16, January 2024
|18.1.40, May 2020
|License Commercial or Open Source
|Open Source MongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.
|Open Source GPL version3, commercial licenses available
|Open Source commercial license available
|Cloud-based only Only available as a cloud service
|no MongoDB available as DBaaS (MongoDB Atlas)
|DBaaS offerings (sponsored links) Database 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.
|C, Java, C++ (depending on the Berkeley DB edition)
|Server operating systems
|Linux Can also be used server-less as embedded Java database.
|schema-free Although 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-optional
|Typing predefined data types such as float or date
|yes string, integer, double, decimal, boolean, date, object_id, geospatial
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.
|yes only with the Berkeley DB XML edition
|yes pluggable indexing subsystem, by default Apache Lucene
|SQL Support of SQL
|Read-only SQL queries via the MongoDB Atlas SQL Interface
|yes SQL interfaced based on SQLite is available
|APIs and other access methods
proprietary protocol using JSON
Cypher query language
Neo4j-OGM Object Graph Mapper
RESTful HTTP API
Spring Data Neo4j
|Supported programming languages
|Actionscript unofficial driver
Clojure unofficial driver
ColdFusion unofficial driver
D unofficial driver
Dart unofficial driver
Delphi unofficial driver
Groovy unofficial driver
Lisp unofficial driver
Lua unofficial driver
MatLab unofficial driver
PowerShell unofficial driver
Prolog unofficial driver
R unofficial driver
Smalltalk unofficial driver
|.Net Figaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others Third-party libraries to manipulate Berkeley DB files are available for many languages
|Server-side scripts Stored procedures
|yes User defined Procedures and Functions
|yes in MongoDB Atlas only
|yes via event handler
|yes only for the SQL API
|Partitioning methods Methods for storing different data on different nodes
|Sharding Partitioned 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 Methods for redundantly storing data on multiple nodes
|Multi-Source deployments with MongoDB Atlas Global Clusters
|Causal Clustering using Raft protocol available in in Enterprise Version only
|MapReduce Offers an API for user-defined Map/Reduce methods
|Consistency concepts Methods to ensure consistency in a distributed system
|Eventual Consistency can be individually decided for each read operation
Immediate Consistency default behaviour
|Causal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
|Foreign keys Referential integrity
|no typically not used, however similar functionality with DBRef possible
|yes Relationships in graphs
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data
|Multi-document ACID Transactions with snapshot isolation
|Concurrency Support for concurrent manipulation of data
|Durability Support for making data persistent
|yes optional, enabled by default
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.
|yes In-memory storage engine introduced with MongoDB version 3.2
|User concepts Access control
|Access rights for users and roles
|Users, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)
|More information provided by the system vendor
|Oracle Berkeley DB
|MongoDB provides an integrated suite of cloud database and data services to accelerate...
|Neo4j delivers graph technology that has been battle tested for performance and scale...
|Built around the flexible document data model and unified API, MongoDB is a developer...
|Neo4j is the market leader, graph database category creator, and the most widely...
|Typical application scenarios
|AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
|Real-Time Recommendations Master Data Management Identity and Access Management Network...
|ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
|Over 800 commercial customers and over 4300 startups use Neo4j. Flagship customers...
|Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
|Neo4j boasts the world's largest graph database ecosystem with more than 140 million...
|Licensing and pricing models
|MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
|GPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
We invite representatives of system vendors to contact us for updating and extending the system information,
|Related products and services
|Studio 3T: The world's favorite IDE for working with MongoDB
Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
CData: Connect to Big Data & NoSQL through standard Drivers.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|Oracle Berkeley DB
|DB-Engines blog posts
Snowflake is the DBMS of the Year 2021
Applying Graph Analytics to Game of Thrones MySQL, PostgreSQL and Redis are the winners of the March ranking The openCypher Project: Help Shape the SQL for Graphs
MySQL, PostgreSQL and Redis are the winners of the March ranking The openCypher Project: Help Shape the SQL for Graphs
The openCypher Project: Help Shape the SQL for Graphs
|Recent citations in the news
MongoDB (MDB) Sees a More Significant Dip Than Broader Market: Some Facts to Know
Create a Database in MongoDB (Step by Step - 2024) | MongoDB Tutorial
MongoDB, Inc. Share Price Target '$467.69', now -1.4% Downside Potential
MongoDB Announces Founding Membership in the U.S. Artificial Intelligence Safety Institute Consortium
How to Plan Your MongoDB Upgrade
provided by Google News
Neo4j Is Planning IPO on Nasdaq, Largest Owner Greenbridge Says
IDJC Receives Neo4j Research Grant to Track 2024 Campaign Misinformation — Syracuse University News
Neo4j Signs Strategic Collaboration Agreement with AWS to Enhance Generative AI Results While Addressing AI ...
Datashare’s new plug-in helps investigative journalists connect the dots with graphs
provided by Google News
ACM recognizes far-reaching technical achievements with special awards
Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
Motorola A780 Linux based smartphone to have mobile database
provided by Google News
Share this page