DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > H2 vs. Memgraph vs. SurrealDB

System Properties Comparison H2 vs. Memgraph vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMemgraph  Xexclude from comparisonSurrealDB  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 Neo4jA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelRelational DBMSGraph DBMSDocument store
Graph DBMS
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.26
Rank#45  Overall
#28  Relational DBMS
Score2.54
Rank#98  Overall
#8  Graph DBMS
Score1.08
Rank#176  Overall
#30  Document stores
#16  Graph DBMS
Websitewww.h2database.commemgraph.comsurrealdb.com
Technical documentationwww.h2database.com/­html/­main.htmlmemgraph.com/­docssurrealdb.com/­docs
DeveloperThomas MuellerMemgraph LtdSurrealDB Ltd
Initial release200520172022
Current release2.2.220, July 2023v1.5.0, May 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoBSL 1.1; commercial license for enterprise edition availableOpen Source
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaC and C++Rust
Server operating systemsAll OS with a Java VMLinuxLinux
macOS
Windows
Data schemeyesschema-free and schema-optionalschema-free
Typing infopredefined data types such as float or dateyesyesyes
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 indexesyes
SQL infoSupport of SQLyesnoSQL-like query language
APIs and other access methodsJDBC
ODBC
Bolt protocol
Cypher query language
GraphQL
RESTful HTTP API
WebSocket
Supported programming languagesJava.Net
C
C++
Elixir
Go
Haskell
Java
JavaScript
PHP
Python
Ruby
Scala
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functions
Triggersyes
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infodynamic graph partitioning
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 RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes inforelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infowith snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyes infowith periodic snapshot and write-ahead logging (WAL) of changesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers, roles and permissionsyes, based on authentication and database rules

More information provided by the system vendor

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

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

More resources
H2MemgraphSurrealDB
Recent citations in the news

NASA jettisons Neo4j database for Memgraph citing costs
7 May 2025, theregister.com

Memgraph 3.0 Delivers Streamlined Way to Build Enterprise-Specific GenAI and Agentic AI
10 February 2025, Business Wire

Memgraph 3 Simplifies Graph Based AI Projects
11 February 2025, i-programmer.info

Memgraph is Recognized as a Responsive Company in the Knowledge Graph Market by MarketsandMarkets' 360Quadrants
9 April 2025, MarketsandMarkets

SLM series - Memgraph: The SLM-knowledge graph combo
25 March 2025, Computer Weekly

provided by Google News

SurrealDB Launches Surreal Cloud, a Fully Managed Database Service That Tackles the Complexity Issues Faced by Developer Teams
7 December 2024, insideAI News

SurrealDB Empowers Developers to Build Applications with the Launch of SurrealDB University
15 October 2024, Business Wire

SurrealDB's Surreal Cloud debuts on AWS S3 for scalable multimodel database as a service
4 December 2024, SiliconANGLE

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

London-based SurrealDB secures over €18.6 million aiming to disrupt database technology
18 June 2024, EU-Startups

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

Neo4j logo

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

RaimaDB logo

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

Milvus logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here