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

DBMS > H2 vs. Neo4j vs. PostgreSQL

System Properties Comparison H2 vs. Neo4j vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonNeo4j  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Scalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSGraph DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsSpatial DBMSDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.94
Rank#50  Overall
#30  Relational DBMS
Score46.15
Rank#20  Overall
#1  Graph DBMS
Score663.42
Rank#4  Overall
#4  Relational DBMS
Websitewww.h2database.comneo4j.comwww.postgresql.org
Technical documentationwww.h2database.com/­html/­main.htmlneo4j.com/­docswww.postgresql.org/­docs
DeveloperThomas MuellerNeo4j, Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release200520071989 info1989: Postgres, 1996: PostgreSQL
Current release2.2.220, July 20235.23, August 202416.4, August 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version3, commercial licenses availableOpen Source infoBSD
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.
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.
Implementation languageJavaJava, ScalaC
Server operating systemsAll OS with a Java VMLinux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesschema-free and schema-optionalyes
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.noyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyes infopluggable indexing subsystem, by default Apache Luceneyes
SQL infoSupport of SQLyesnoyes infostandard with numerous extensions
APIs and other access methodsJDBC
ODBC
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJava.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functionsyes infoUser defined Procedures and Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesyes infovia event handleryes
Partitioning methods infoMethods for storing different data on different nodesnoneyes using Neo4j Fabricpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseCausal Clustering using Raft protocol infoavailable in in Enterprise Version onlySource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyCausal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Immediate Consistency
Foreign keys infoReferential integrityyesyes infoRelationships in graphsyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesno
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)fine grained access rights according to SQL-standard
More information provided by the system vendor
H2Neo4jPostgreSQL
News

What Are the Best Graph Database Use Cases in 2025?
20 March 2025

Modeling Agent Memory
20 March 2025

LLM Knowledge Graph Builder Front-End Architecture
18 March 2025

Is Traditional SaaS Behind Us? The Graph + GenAI Revolution
18 March 2025

This Week in Neo4j: Knowledge Graph, Deepseek, Bloodhound, RAG and more
15 March 2025

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 parties
» more

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

More resources
H2Neo4jPostgreSQL
DB-Engines blog posts

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

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

Recent citations in the news

Swedish company accelerates toward IPO with $50M investment at $2B valuation - ArcticStartup
28 November 2024, ArcticStartup

Neo4j lowers barriers to graph technology with gen AI copilot, 15x read capacity
4 September 2024, VentureBeat

Data Science Firm Neo4j Reportedly Prepping IPO
19 November 2024, PYMNTS.com

Discover Graph Databases with Neo4j and PHP
7 November 2024, SitePoint

Database startup Neo4j embraces AI to supercharge growth
19 November 2024, TechCrunch

provided by Google News

Use pgactive for rolling major version upgrades in Amazon RDS for PostgreSQL
17 March 2025, AWS Blog

7 Reasons PostgreSQL is a Great Choice for AI Projects
19 March 2025, RTInsights

Empowering AI Innovation With Data
19 March 2025, WIRED

Critical PostgreSQL bug tied to zero-day attack on US Treasury
14 February 2025, The Register

PostgreSQL Vulnerability Exploited Alongside BeyondTrust Zero-Day in Targeted Attacks
14 February 2025, The Hacker News

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

SingleStore logo

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

RaimaDB logo

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

Present your product here