DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Dgraph vs. H2 vs. PostgreSQL

System Properties Comparison Dgraph vs. H2 vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonH2  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelGraph DBMSRelational 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
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.54
Rank#143  Overall
#11  Graph DBMS
Score9.83
Rank#51  Overall
#31  Relational DBMS
Score615.29
Rank#4  Overall
#4  Relational DBMS
Websitedgraph.iowww.h2database.comwww.postgresql.org
Technical documentationdgraph.io/­docswww.h2database.com/­html/­main.htmlwww.postgresql.org/­docs
DeveloperDgraph Labs, Inc.Thomas MuellerPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201620051989 info1989: Postgres, 1996: PostgreSQL
Current release2.1.210, January 202214.3, May 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open 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.
ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageGoJavaC
Server operating systemsLinux
OS X
Windows
All OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyesyes
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.nonoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLnoyesyes infostandard with numerous extensions
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Java.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnoyesyes
Partitioning methods infoMethods for storing different data on different nodesyesnonepartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via RaftWith clustering: 2 database servers on different computers operate on identical copies of a databaseSource-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 ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
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 controlno infoPlanned for future releasesfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

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
3rd partiespgDash: In-Depth PostgreSQL Monitoring.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

More resources
DgraphH2PostgreSQL
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

show all

Recent citations in the news

Dgraph GraphQL database users detail graph use cases
20 April 2021, TechTarget

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

Gary Hagmueller Joins Dgraph Labs To Lead the Graph Platform Market Disruption
8 April 2021, Business Wire

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

provided by Google News

First beta for PostgreSQL 15 now available
19 May 2022, SDTimes.com

Google Cloud launches AlloyDB, a new fully managed PostgreSQL database service
11 May 2022, TechCrunch

Review: YugabyteDB does PostgreSQL proud
16 May 2022, InfoWorld

Why SQLite may become foundational for digital progress
20 May 2022, VentureBeat

Install PostgreSQL Server & Client on Ubuntu 22.04 LTS Jammy
10 May 2022, Linux Shout

provided by Google News

Job opportunities

C# Backend Developer
PIN Business Network, Englewood, CO

Senior Software Engineer
Codenotary, Remote

Database Administrator
DataLink Fund Solutions, Tampa, FL

Senior Software Engineer (CLI)
Codenotary, Remote

eCommerce Engineer
PIN Business Network, Englewood, CO

PostgreSQL Database Administrator
Xtivia Inc, Remote

Overnight SQL DBA
XTIVIA, Remote

Perl Developer
Dynavet Solutions LLC, Remote

Junior Developer
Paradyme Management, Washington, DC

Node Js
Intone Networks, Remote

jobs by Indeed



Share this page

Featured Products

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

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

Neo4j logo

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

Present your product here