Softwr
Dgraph logo

Dgraph

Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.

As of 30 August 2026, Dgraph is free to use. Dgraph shards a graph by predicate across Raft groups and serves it over a generated GraphQL API. Softwr lists it under Databases. Dgraph is made by Dgraph Labs, launched in 2016, available on Linux, macOS, Self-hosted, Web.

Overview

What Dgraph does

Dgraph is a distributed, transactional graph database written in Go. A cluster is made of Zero nodes, which handle cluster membership, sharding decisions and transaction timestamps, and Alpha nodes, which store and serve the data; both use Raft for replication. Data is sharded by predicate, meaning all the edges of a given type live together in one Raft group. It exposes two query interfaces: a GraphQL endpoint generated automatically from a schema you supply, and DQL, Dgraph's own query language descended from what was once called GraphQL+-, which shares GraphQL's shape but is not the GraphQL specification. The current release line is v25, the code is Apache 2.0, and the project is maintained under Hypermode after Dgraph Labs stopped operating independently. What distinguishes it from the obvious alternative is the combination of horizontal sharding and a GraphQL-first surface. Neo4j's community edition does not shard writes across a cluster and its query language is Cypher; Dgraph distributes storage across groups from the start and hands application developers an endpoint their frontend framework already speaks, which removes a resolver layer that teams otherwise build and maintain. The commercial consequence is that Dgraph tends to be chosen by product teams rather than by data teams, as an application backend rather than an analytical graph, and once the schema is expressed as Dgraph's GraphQL and the queries as DQL there is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different targets. The buyers are teams with genuinely graph-shaped application data, identity graphs, recommendations, permissions, knowledge graphs, who want horizontal scale without a licence negotiation. The trade-off is stewardship and depth of ecosystem. The licence is permissive and the code is active, but the company behind it changed, the community is far smaller than Neo4j's, and predicate-level sharding means a single very hot predicate cannot be split further no matter how many nodes you add. Those are the two things that decide whether this is a good bet: who will be maintaining it in five years, and whether your hottest edge type fits in one Raft group.

What people use it for

  • An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL
  • A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation
  • Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottleneck
  • Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available one

The honest half

Where it falls short

Concrete and checkable, so you can decide whether any of them matter to you. This is the half of a review a vendor will not write about Dgraph.

  • Sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change.
  • Stewardship passed from Dgraph Labs to Hypermode after the original company stopped operating independently, so anyone building on it is betting on a second custodian rather than on the original team's roadmap.
  • The GraphQL layer is generated and opinionated, so anything it does not express drops you into DQL, which is a second language your team must learn and which no other database speaks.
  • The community is a fraction of Neo4j's, so operational answers, tuning experience, hiring and third-party tooling are all thinner, and unusual failure modes in a Zero and Alpha cluster leave you reading source rather than a forum.
  • There is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different query models, so the schema and every query is a rewrite if you later leave, and that cost grows with the application.

Cross-shopped

What people choose instead of Dgraph

Each pairing was judged by two reviewers asking whether a buyer would genuinely weigh the two against each other. The ones that failed were deleted rather than published.

Pricing

What Dgraph costs

Taken from the vendor's own pricing page. Prices move, so check before you buy.

Community

Free

  • Native GraphQL
  • Graph queries
  • Full-text search

Cloud

$39 /mo

  • Managed service
  • Auto-scaling
  • Enterprise support

Capabilities

Features

  • Apache 2.0 licence

    Permissive open source with no competing-use restriction on the current release line

  • Generated GraphQL API

    A GraphQL endpoint with queries, mutations and filters derived from the schema you upload

  • DQL query language

    Dgraph's own graph query language for traversals, recursion and aggregation beyond what the GraphQL layer exposes

  • Predicate sharding

    Each predicate is assigned to a Raft group so the graph is distributed across nodes automatically

  • Raft replication

    Each shard group replicates through Raft, tolerating node loss without manual failover

  • Distributed ACID transactions

    Snapshot-isolated transactions coordinated by timestamps issued from the Zero nodes

  • Written in Go

    Single binary deployment with no JVM to tune, and a Badger key-value store underneath

  • Full-text and geo indexing

    Search, regex, term and geospatial indexes defined per predicate in the schema

  • Bulk and live loaders

    Offline bulk loading for initial ingestion and a live loader for incremental import

  • Access control and backups

    Role-based access, encryption and backup facilities included in the open release

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Is Dgraph open source?

Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.

Is it really GraphQL?

It serves a generated GraphQL API, which is real GraphQL for clients. Its native language, DQL, resembles GraphQL syntactically but is Dgraph's own language and is not the GraphQL specification.

How does it compare to Neo4j?

Neo4j has the larger ecosystem, Cypher, and far more operational precedent. Dgraph distributes storage across nodes by default and gives you a GraphQL endpoint without writing resolvers. The choice usually turns on whether you need horizontal scale and a GraphQL surface more than you need ecosystem depth.

What does a production cluster look like?

At minimum a set of Zero nodes for coordination and a replicated set of Alpha nodes for data, typically three of each for fault tolerance, which is a meaningfully larger operational footprint than a single graph server.

Who maintains it now?

Hypermode. Dgraph Labs, the original company, no longer operates it, and that change of custodian is the main non-technical risk to weigh.

Behind it

Who makes Dgraph

Company
Dgraph Labs
Based in
San Francisco, California
Share

Keep looking

Where to go from Dgraph

Best Databases software for

Compare Dgraph with

Other Databases software

  • The cloud-native distributed SQL database

    Free plan14 researched notes
  • Create apps that perfectly fit your team's needs

    Free, then $20/month per editor11 researched notes
  • The world's most advanced open source relational database

    Free plan11 researched notes
  • MySQL and PostgreSQL-compatible relational database built for the cloud

    Free plan12 researched notes
  • The world's leading graph database

    Free plan16 researched notes
  • Multi-model database for graph, document, and search

    Free plan9 researched notes
  • The heart of the Elastic Stack for search and analytics

    Free, then $16.4/mo11 researched notes
  • The modern database for enterprise applications

    Free plan12 researched notes
  • Manage massive amounts of data with linear scalability

    Free plan15 researched notes
  • Document-relational database whose hosted service closed in 2025 and whose core is now unmaintained Apache 2.0 code.

    Free plan14 researched notes
  • The fully transactional NoSQL document database

    Free plan14 researched notes
  • Reactive backend combining a document database, TypeScript server functions and live queries, source-available under the Functional Source Licence.

    Free plan14 researched notes
  • High-performance Redis-compatible in-memory datastore with 25x better throughput

    Free plan10 researched notes
  • SQL query engine and lakehouse layer over Iceberg tables in object storage

    Free, then $0.2/hour12 researched notes
  • Log-based change data capture for database replication and synchronization

    9 researched notes
  • The evolution of spreadsheets

    Free, then $10/mo11 researched notes
  • The AI-powered database built for demanding enterprise workloads

    Free, then $99/mo14 researched notes

Softwr does not host reviews and shows no star rating for Dgraph, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Dgraph

Best Databases software alternatives

Industrial process historian with published per-tag pricing and no client licence fees

Per tag band per year

NetApp-owned managed service for Cassandra, Kafka, OpenSearch, PostgreSQL and Cadence with a bring-your-own-cloud model

quote

Erlang MQTT broker for large IoT fleets, relicensed to BSL with production free use limited to one node

Per month by connection and session volume

Attribute-based access control and masking applied inside Snowflake, Databricks and BigQuery

quote

MPP analytical database with a MySQL wire protocol and sub-second aggregation on wide tables

Open source, no licence fee

Streaming database that maintains incremental materialised views in SQL instead of Flink jobs

Per RisingWave Unit hour

Centralised data access governance from the creators of Apache Ranger, now rebranding as Trust3 AI

quote

The Meta-lineage distributed SQL query engine, distinct from the Trino fork

Open source, no licence fee

Compare Dgraph with alternatives