Dgraph is a horizontally scalable graph database with a GraphQL interface, ACID transactions, and consistent replication. Official support targets Linux on amd64 and arm64.
Overview
Dgraph stores connected data behind a native GraphQL layer so applications can query relationships with JSON or Protocol Buffers over gRPC and HTTP. It is sharded and distributed, with linearizable reads and replication designed for large structured datasets and low-latency queries.
You can run it as a property graph database for direct administration or expose a schema-driven GraphQL API for application development. The query language is GraphQL-inspired; the engine arranges data on disk to cut disk seeks and network hops in clustered setups.
Docker is the recommended path for testing and deployment, including compose and Kubernetes options documented upstream. Linux amd64 and arm64 are officially supported; other platforms may work when built locally but without official support. Client libraries are maintained by the core team and community contributors.
Compared with some other graph databases listed in project materials, Dgraph emphasizes automatic sharding, distributed ACID transactions, and built-in full-text, regex, and geo search rather than relying on external indexers for those capabilities.
Key features
- Horizontally scalable graph storage
- Native GraphQL query interface
- Distributed ACID transactions
- gRPC and HTTP JSON responses
- Built-in full-text and regex search
- Native geo search support
- Official Docker deployment image
- Automatic shard rebalancing
Use cases
- Many related tables with foreign keys
- Sparse data ill-suited to SQL tables
- Real-time queries over large graphs
- GraphQL-backed application backends
- Terabyte-scale relationship analytics