DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Dgraph vs. PostgreSQL vs. YDB

System Properties Comparison Dgraph vs. PostgreSQL vs. YDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonPostgreSQL  Xexclude from comparisonYDB  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA distributed fault-tolerant database service, with high availability, scalability, immediate consistency and ACID transactions and providing an Amazon DynamoDB compatible API
Primary database modelGraph DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document store
Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.78
Rank#156  Overall
#12  Graph DBMS
Score613.83
Rank#4  Overall
#4  Relational DBMS
Score0.44
Rank#286  Overall
#43  Document stores
#130  Relational DBMS
Websitedgraph.iowww.postgresql.orggithub.com/­ydb-platform/­ydb
ydb.tech
Technical documentationdgraph.io/­docswww.postgresql.org/­docsydb.tech/­en/­docs
DeveloperDgraph Labs, Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developerYandex
Initial release20161989 info1989: Postgres, 1996: PostgreSQL2019
Current release15.2, February 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoBSDOpen Source infoApache 2.0; commercial license available
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 DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
Implementation languageGoC
Server operating systemsLinux
OS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeschema-freeyesFlexible Schema (defined schema, partial schema, schema 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.noyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensionsSQL-like query language (YQL)
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
RESTful HTTP API (DynamoDB compatible)
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Go
Java
JavaScript (Node.js)
PHP
Python
Server-side scripts infoStored proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnoyes
Partitioning methods infoMethods for storing different data on different nodesyespartitioning by range, list and (since PostgreSQL 11) by hashSharding
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via RaftSource-replica replication infoother methods possible by using 3rd party extensionsActive-passive shard replication
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 integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.nono
User concepts infoAccess controlno infoPlanned for future releasesfine grained access rights according to SQL-standardAccess rights defined for Yandex Cloud users

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 partiesFujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

The State of PostgreSQL 2022 survey is now open!
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» 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

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

More resources
DgraphPostgreSQLYDB
DB-Engines blog posts

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

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

show all

Conferences and events

PGCon 2023, PostgreSQL Conference for Users and Developers
Ottawa, Canada, 30 May 2023 - 2 June 2023

Recent citations in the news

Popular Open Source GraphQL Company Dgraph Secures $6M in ...
20 July 2022, PR Newswire

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 ...
26 May 2021, Business Wire

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

Dgraph raises $3M for its open-source distributed graph database, hits 1.0 release
19 December 2017, TechCrunch

Startup Dgraph Labs growing graph database technology
1 August 2019, TechTarget

provided by Google News

Amazon Aurora PostgreSQL Adds Write-Through Cache to Improve ...
18 March 2023, InfoQ.com

From a Fan: On the Ascendance of PostgreSQL
3 March 2023, The New Stack

Google makes AlloyDB for PostgreSQL available in 16 new regions
28 February 2023, InfoWorld

PGEDGE LAUNCHES FIRST FULLY DISTRIBUTED EDGE ...
7 March 2023, PR Newswire

The 7 Best PostgreSQL Remote Databases - MUO
20 February 2023, MakeUseOf

provided by Google News

Yandex code leak: Why hack of ‘Russian Google’s’ ranking factors has spooked the SEO industry
2 February 2023, The Indian Express

Data leak from Russian delivery app shows dining habits of the secret police
3 April 2022, The Verge

YDB
27 June 2022, dbdb.io

yandex-database · GitHub Topics · GitHub
13 June 2022, github.com

YDB - Revision #2
19 April 2022, dbdb.io

provided by Google News

Job opportunities

Senior Backend Services Developer
ComResource, Columbus, OH

Full Stack Developer, Sr.
NetJets Services, Inc., Columbus, OH

PostgreSQL DB
Cognizant, Atlanta, GA

Entry Level Django Developer
I28 Technologies Corporation, Remote

SQL Developer (Remote)
Gray Digital, New York, NY

Remote SQL Server Application Performance DBA (PostgreSQL) - 100% Remote
National General Insurance, Washington, DC

PHP Developers
10Types, Wilmington, DE

jobs by Indeed



Share this page

Featured Products

Neo4j logo

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

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

The world’s most loved real‑time data platform.
Try free

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Present your product here