DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > H2 vs. IBM Db2 vs. MongoDB vs. NebulaGraph

System Properties Comparison H2 vs. IBM Db2 vs. MongoDB vs. NebulaGraph

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMongoDB  Xexclude from comparisonNebulaGraph  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Common in IBM host environments, 2 different versions for host and Windows/LinuxOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureA distributed, linear scalable, high perfomant Graph DBMS
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument storeGraph DBMS
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Spatial 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
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score421.08
Rank#5  Overall
#1  Document stores
Score2.23
Rank#116  Overall
#10  Graph DBMS
Websitewww.h2database.comwww.ibm.com/­products/­db2www.mongodb.comgithub.com/­vesoft-inc/­nebula
www.nebula-graph.io
Technical documentationwww.h2database.com/­html/­main.htmlwww.ibm.com/­docs/­en/­db2www.mongodb.com/­docs/­manualdocs.nebula-graph.io
DeveloperThomas MuellerIBMMongoDB, IncVesoft Inc.
Initial release20051983 infohost version20092019
Current release2.2.220, July 202312.1, October 20166.0.7, June 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is 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 infoApache Version 2.0 + Common Clause 1.0
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.
  • 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.
Implementation languageJavaC and C++C++C++
Server operating systemsAll OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Solaris
Windows
Linux
Data schemeyesyesschema-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.Strong typed schema
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.nono
Secondary indexesyesyesyesyes infoNebula Graph internally uses the Key-Value store RocksDB for persistency. The vertices, edges, and their properties are stored as Key while their values are stored as Value. The primary indexes are per Key and secondary indexes are per Value.
SQL infoSupport of SQLyesyesRead-only SQL queries via the MongoDB Atlas SQL InterfaceSQL-like query language
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
Browser interface
console (shell)
Cypher Query Language
GO Object Graph Mapper
Java Object Graph Mapper
NGBatis infoORM framework for NebulaGraph and Spring-Boot
Proprietary native API
Python Object Graph Mapper
Query language nGQL
Supported programming languagesJavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
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++
Go
Java
PHP
Python
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsyesJavaScriptuser defined functions
Triggersyesyesyes infoin MongoDB Atlas only
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoonly with Windows/Unix/Linux VersionSharding 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 nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infowith separate tools (MQ, InfoSphere)Multi-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Causal Clustering using Raft protocol
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integrityyesyesno infotypically not used, however similar functionality with DBRef possibleyes infoRelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyes infousing RocksDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes infoIn-memory storage engine introduced with MongoDB version 3.2yes
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardAccess rights for users and rolesRole-based access control
More information provided by the system vendor
H2IBM Db2 infoformerly named DB2 or IBM Database 2MongoDBNebulaGraph
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
NebulaGraph is a truly distributed, linearly scalable, lightning-fast graph database,...
» more
Competitive advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
NebulaGraph boasts the world's only graph database solution that is able to host...
» more
Typical application scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Social networking Fraud detection Knowledge graph Data warehouse management Anti...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Companies from a variety of industries have implemented NebulaGraph Database in production,...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
At our very early stage, NebulaGraph has already received over 10,000 stars on GitHub...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
NebulaGraph is open source and free to use under Apache 2.0 license.
» 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

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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
H2IBM Db2 infoformerly named DB2 or IBM Database 2MongoDBNebulaGraph
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

Recent citations in the news

Denial of Service in IBM DB2 Universal Database
1 June 2024, ITPro Today

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, precisely.com

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

provided by Google News

Should You Buy MongoDB, Snowflake, and Atlassian at Their 52-Week Lows?
6 June 2024, The Motley Fool

Why MongoDB Plunged Over 35% in May
5 June 2024, Yahoo Finance

CE 100 Index Slips 1.1% as MongoDB Shares Slide After Earnings
3 June 2024, PYMNTS.com

Looking Into MongoDB's Recent Short Interest - MongoDB (NASDAQ:MDB)
4 June 2024, Benzinga

This Analyst With 85% Accuracy Rate Sees Over 29% Upside In MongoDB - Here Are 5 Stock Picks For Last Wee
3 June 2024, Benzinga

provided by Google News

Vesoft (NebulaGraph) Recognized in the GartnerĀ® Market Guide for Graph Database Management Systems
15 November 2023, PR Newswire

NebulaGraph reaps from China's growing appetite for graph databases
16 September 2022, TechCrunch

NebulaGraph Completes Series A to Scale Its Distributed Graph Database
16 September 2022, Datanami

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

Present your product here