Dgraphvs
Cockroach Labs


Cockroach Labs: The cloud-native distributed SQL database

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
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.
The honest half
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.
Cross-shopped
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.


Cockroach Labs: The cloud-native distributed SQL database


PostgreSQL: The world's most advanced open source relational database


Airtable: Create apps that perfectly fit your team's needs


Amazon Aurora: MySQL and PostgreSQL-compatible relational database built for the cloud
Pricing
Taken from the vendor's own pricing page. Prices move, so check before you buy.
Community
Free
Cloud
$39 /mo
Capabilities
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
Each answer names the page it came from, so you can check it rather than take our word for it.
Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.
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.
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.
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.
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
Keep looking
Create apps that perfectly fit your team's needs
MySQL and PostgreSQL-compatible relational database built for the cloud
The heart of the Elastic Stack for search and analytics
Document-relational database whose hosted service closed in 2025 and whose core is now unmaintained Apache 2.0 code.
Store and sync data in real-time across all clients
Reactive backend combining a document database, TypeScript server functions and live queries, source-available under the Functional Source Licence.
High-performance Redis-compatible in-memory datastore with 25x better throughput
SQL query engine and lakehouse layer over Iceberg tables in object storage
Log-based change data capture for database replication and synchronization
The AI-powered database built for demanding enterprise workloads
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.
What people switch to, and what they give up
Every tier, and where the cost actually lands
Put it head to head with anything we hold
Its rating, and an embed for your own site
Industrial process historian with published per-tag pricing and no client licence fees
Per tag band per yearNetApp-owned managed service for Cassandra, Kafka, OpenSearch, PostgreSQL and Cadence with a bring-your-own-cloud model
quoteErlang MQTT broker for large IoT fleets, relicensed to BSL with production free use limited to one node
Per month by connection and session volumeAttribute-based access control and masking applied inside Snowflake, Databricks and BigQuery
quoteMPP analytical database with a MySQL wire protocol and sub-second aggregation on wide tables
Open source, no licence feeStreaming database that maintains incremental materialised views in SQL instead of Flink jobs
Per RisingWave Unit hourCentralised data access governance from the creators of Apache Ranger, now rebranding as Trust3 AI
quoteThe Meta-lineage distributed SQL query engine, distinct from the Trino fork
Open source, no licence fee