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 20 November 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 is Dgraph?

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 does Dgraph fall short?

Each is concrete and checkable: the half of a review a vendor will not write.

  • 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 are the alternatives to Dgraph?

The closest alternatives to Dgraph are Neo4j, ArangoDB and SurrealDB. Each is a tool buyers genuinely weigh against it, with the reason why.

  • Dgraph vs Neo4j

    Neo4j: The most widely used graph database, with the Cypher query language and a large community

  • Dgraph vs ArangoDB

    ArangoDB: Multi-model database combining graph, document and key-value data

  • Dgraph vs SurrealDB

    SurrealDB: Multi-model database with graph relations and a built-in query language

  • Dgraph vs CosmosDB

    CosmosDB: Microsoft's managed multi-model database with a graph API on Azure

Pricing

How much does Dgraph cost?

Dgraph has a free plan, and paid plans start at $39/mo, across 2 plans. 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

What can Dgraph do?

Dgraph lists 10 features, including apache 2.0 licence, generated GraphQL API and DQL query language.

  • 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?

Dgraph is made by Dgraph Labs, founded in 2016 and based in San Francisco, California.

Company
Dgraph Labs
Based in
San Francisco, California

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

Share

Keep looking

Where to go from Dgraph

Best Databases software for

Compare Dgraph with

Other Databases software

  • Multi-model database for graph, document, and search

    Free plan9 researched notes
  • Graph database

    Free plan15 researched notes
  • Globally distributed, multi-model database service from Azure

    Free plan15 researched notes
  • Multi-model database combining documents, graphs, vectors and time-series

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

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

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

    Free plan15 researched notes
  • The real-time big data database compatible with Cassandra

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

    Free plan15 researched notes
  • The fully transactional NoSQL document database

    Free plan14 researched notes
  • The cloud-native distributed SQL database

    Free plan15 researched notes
  • The open source Firebase alternative

    Free, then $25/mo10 researched notes
  • Fast open-source column-oriented database for real-time analytics

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

    Free plan12 researched notes
  • Open source relational database

    Free plan16 researched notes
  • The MySQL-compatible serverless database

    Free, then $15/mo14 researched notes
  • Open-source message broker supporting AMQP and other protocols

    Open source12 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

Lightweight open-source connection pooler for PostgreSQL

open-source

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

Per tag band per year

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

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

quote

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

Compare Dgraph with alternatives