Dgraph vs PostgreSQL SQL/PGQ

Both are property graph databases. Dgraph (2015-12, Apache-2.0, Go) ranks #3 this month; PostgreSQL SQL/PGQ (2026-03, PostgreSQL, C) ranks #71.

Attribute Dgraph #3 = Leader PostgreSQL SQL/PGQ #71 ▲2 Growing
At a glance
Rank #3#71
Score 73.642.9
GitHub stars 21.8k—
Popularity 82.0—
Activity 70.153.0
Community 73.553.6
Research 64.350.0
Fundamentals
Description A distributed graph database with horizontal scaling and ACID transactions. Uses its own query language (DQL) derived from GraphQL, with automatic shard rebalancing across cluster nodes.Native SQL:2023 property graph query support coming to PostgreSQL, exposing graph pattern matching through the GRAPH_TABLE construct over property graphs defined on existing tables. Property graphs are processed like views and executed as standard relational queries by the existing planner.
Vendor IstariPostgreSQL Global Development Group
Model Property GraphProperty Graph
Kind databasedatabase
Category EnterpriseEmerging
First released 2015-122026-03
Status activeactive
License Apache-2.0PostgreSQL
Written in GoC
Query languages DQL, GraphQLSQL/PGQ
gdotv support yesno

Feature scores — not surveyed for PostgreSQL SQL/PGQ

Feature DgraphPostgreSQL SQL/PGQ
Community & Business
Active development ✓—
Commercial support ✓—
Live community 0.5—
Open Source ✓—
Pricing ·—
Trendiness 0.25—
Deployment
Containerization ✓—
Work as dedicated instance ✓—
Work as embedded ·—
Testing in-memory version ✓—
Platform
Operating on Linux ✓—
Operating on Windows ✓—
SaaS offering ✓—
Operations
Automatic updates ·—
Client side caching ·—
Data versioning support ·—
Live backups ✓—
Distribution
Cluster Re-balancing ✓—
Data Distribution ✓—
High-Availability ✓—
Query Distribution ✓—
Replication support ✓—
Developer Experience
Data types defined ✓—
Logging/Auditing 0.5—
Object-Graph Mapper ·—
Reactive programming ·—
Documentation up-to-date 0.5—
Binary protocol ✓—
CLI ·—
GUI ✓—
Data Model
Multi-database ·—
Graph-native data ✓—
REST API ✓—
Query Language ✓—
Transactions
Granular locking ·—
Multiple isolation levels ·—
Read committed transaction ·—
Transaction support ✓—
Schema & Security
Constraints ·—
Schema support ✓—
Secondary indexes ✓—
Server side procedures ·—
Triggers ·—
Authentication ✓—
Authorization ✓—
Data encryption ✓—