Dgraph shards the data to horizontally scale to hundreds of servers. It is designed to minimize the number of disk seeks and network calls.


Dgraph is built like a search engine. Queries are broken into sub-queries, which run concurrently to achieve low-latency and high throughput.


With distributed ACID transactions, you can focus on your application logic, instead of worrying about data integrity.

Highly available.

Dgraph automatically runs synchronous replication, so losing a hard disk or a server doesn't affect your services.

Shard rebalancing.

Dgraph ensures that data is evenly balanced across servers by automatically moving shards, improving resource utilization for high performance.

Open source.

Written entirely in Go, Dgraph is available under the Apache 2.0 license for easy adoption.

Flexible schema.

Quick iteration is important to keep your users happy. An adaptable flexible schema works with you as your application design evolves.

User Interface.

Dgraph provides a user interface, so you can browse and manage your data, making it easier to stay on top of things.

Designed for SSD.

Dgraph internal key-value store, Badger is designed to reduce RAM usage and rely on SSD for performance. That's fast and cheap.

Distributed by design.

Dgraph can easily scale to multiple machines, or datacenters. Its sharded storage and query processing were specifically designed to minimize the number of network calls.

We listen to our customers.
So should you.

Collin O Brien

"Dgraph’s commitment to performance, without sacrificing on critically important features like ACID transactions, all while providing excellent community support, has allowed us to focus more on our business logic and less on tuning knobs in our database."

Colin O'Brien
Chief Executive Officer
Ling Liu

"Dgraph benefits from its team’s years of accumulation in the fields of web search, deep traversals, knowledge graph, etc., which effectively solves the problems of graph segmentation and large fan-out problem."

Long Liu
Senior Software Engineer
BossBoss Zhipin
Anthony Masters

"I spent 6 months building a graph API backend with a RDS database. It worked but we were battling several problems. The major roadblock came from the rows of data that had to be touched to get the deep graphs we wanted. After spending a week with Dgraph, we deleted 50K lines of code from our old API and generated a completed API simply by writing a single schema file declaring out types only. The amount of work and time that Dgraph saves is simply unimaginable! And on top of that, Slash makes it even easier with a fully managed service. Making a true graph db has never been easier."

Anthony Master
Founder & Developer
Samer Buna

"I got the scoop on a new kick-ass GraphQL service that's amazing even in its very early stage. You put the SDL text of your schema and it gives you a usable crud implementation with the push of a button."

Samer Buna
Software Enterpreneur
Pan Gao

“Dgraph is an excellent open source distributed graph database that supports horizontal scaling, distributed transactions, synchronous replication, high availability and low-latency arbitrary-depth joins. By using dgraph, we can query hundreds of billions of relationships with milliseconds delay in high concurrency scenarios, which helps our business develop rapidly. We are very happy to be involved in this project, we have submitted some PR and look forward to contributing!”

Pan Gao
Senior Software Engineer
KE HoldingsKE Holdings
Abhijit Kar

“Dgraph does to DBs what SpaceX did to Rockets! I chose Dgraph because I simply could not find any other provider that offered all the features I needed under one platform. From scalability, fault-tolerant, read speed, to handling joins and rebalance of data across shards, Dgraph offers a powerful suite of tools that every GraphQL developer wants. No ORMs, no N+1 problem, GraphQL queries, Dgraph is essential to QuillerBee’s growth efforts.”

Abhijit Kar
Software Engineer
Quiller BeeQuillerBee
John Bjorn Nelson

“While researching online social structures, I used dgraph to interrogate a large archived sample (about 300 million “follows” relationships) of the twitter social graph. Once ingested, dgraph’s performance made it easy to both query and subsequently prune relationships (e.g. unfollows). Without it, I don’t think I would have even attempted the project. And if I had, I would have probably quit.”

John Bjorn Nelson
Abreka, Inc.

There are so many reasons to switch to Dgraph.

See how Dgraph compares to other databases such as Neo4j, TigerGraph, and more.


Dgraph Docs

Everything you need to know about Dgraph.