Databases · head to head
Amazon DocumentDB vs Dgraph

Amazon DocumentDB
Databases
Managed MongoDB-compatible document database service on AWS
- From
- On request
- Free plan
- No

Dgraph
Databases
Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.
- From
- Free
- Free plan
- Yes
The short version
- Amazon DocumentDB is a managed document database on AWS.
- Dgraph starts at $39/mo; Amazon DocumentDB prices on request.
- Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Dgraph lists apache 2.0 licence.
- Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.
- Prices and features on this page were last checked on 25 November 2026.
How do Amazon DocumentDB and Dgraph differ?
Amazon DocumentDB and Dgraph differ on starting price (On request against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Amazon DocumentDB and Dgraph actually diverge.
| Attribute | Amazon DocumentDB | Dgraph |
|---|---|---|
| Starting price | On request | Free |
| Pricing model | Usage-based | Freemium |
| Free tier | No | Yes |
| Platforms | Web | Linux, macOS, Self-hosted, Web |
Identical on both: category (Databases).
Not yet recorded: founded for Amazon DocumentDB.
Which features does each one have?
They share no listed features; 8 appear only for Amazon DocumentDB and 10 only for Dgraph. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Amazon DocumentDB
- MongoDB driver and tool compatibility
- Managed patching, backups and monitoring
- Serverless capacity scaling
- Elastic clusters
- Global clusters across up to 10 AWS Regions
- I/O-Optimized pricing configuration
- CloudWatch, IAM and AWS Backup integration
- Zero ETL to Amazon OpenSearch Service
Only in Dgraph
- Apache 2.0 licence
- Generated GraphQL API
- DQL query language
- Predicate sharding
- Raft replication
- Distributed ACID transactions
- Written in Go
- Full-text and geo indexing
What is each one used for?
Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS. The jobs each tool is most often brought in to do.
Amazon DocumentDB
- Migrating MongoDB workloads to AWSnot Dgraph
- Content and catalogue document storesnot Dgraph
- Serverless document databases for variable loadnot Dgraph
- Multi region read replicas for disaster recoverynot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Amazon DocumentDB
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Amazon DocumentDB
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Amazon DocumentDB
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Amazon DocumentDB
Where do Amazon DocumentDB and Dgraph fall short?
Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon DocumentDB
- Runs only on AWS; it cannot run on premises or across cloud providers
- Compatible with MongoDB rather than identical, with no time series collection support
- Cost combines instance, storage, I/O and backup charges, which are harder to forecast
- Free tier allowance lasts 30 days for new accounts and is excluded in some regions
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
How much do Amazon DocumentDB and Dgraph cost?
Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Amazon DocumentDB
On requestNo published plan breakdown. See the Amazon DocumentDB review.
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Amazon DocumentDB if
- You need mongodb driver and tool compatibility.
- You also want managed patching, backups and monitoring.
Choose Dgraph if
- You need apache 2.0 licence.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted, Web.
- You also want generated graphql api.
Questions people ask
- Is Amazon DocumentDB or Dgraph better?
- Neither clearly leads. Amazon DocumentDB starts at On request and Dgraph at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Amazon DocumentDB or Dgraph?
- Dgraph has a free tier; the other does not. Paid plans start at On request for Amazon DocumentDB and Free for Dgraph.
- Does Amazon DocumentDB or Dgraph run on more platforms?
- Amazon DocumentDB runs on Web. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Dgraph for free?
- Yes. Dgraph has a free tier, so you can try it without paying. Amazon DocumentDB starts at On request.
- What is Amazon DocumentDB best used for?
- Amazon DocumentDB is most often used for migrating mongodb workloads to aws, content and catalogue document stores, serverless document databases for variable load, multi region read replicas for disaster recovery. Of those, migrating mongodb workloads to aws and content and catalogue document stores are not what Dgraph is typically brought in for.
- What can Amazon DocumentDB do that Dgraph cannot?
- Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Amazon DocumentDB: Is DocumentDB the same as MongoDB?
No. It is MongoDB compatible: existing MongoDB drivers and tools work, but Wikipedia notes it supports MongoDB 3.6 and 4.0 with later partial 5.0 compliance and no time series collections.
SourceDgraph: 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.
Amazon DocumentDB: How is DocumentDB priced?
Pay as you go. Provisioned clusters are billed for instances per second, I/O, storage and backup storage, while serverless uses DocumentDB Capacity Units billed per second.
SourceDgraph: 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.
Amazon DocumentDB: Is there a free tier?
New AWS accounts get one month: 750 hours a month of db.t3.medium, 30 million I/Os, 5 GB storage and 5 GB backup. It is not available in AWS GovCloud (US) or China (Ningxia).
SourceDgraph: 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.
Amazon DocumentDB: Can it run outside AWS?
No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.
SourceDgraph: 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.
Dgraph: 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.
Related pages
More on Amazon DocumentDB
Other head to heads
- Amazon DocumentDB vs CosmosDB
- Amazon DocumentDB vs MongoDB
- Amazon DocumentDB vs Couchbase
- Amazon DocumentDB vs PlanetScale
- Amazon DocumentDB vs BigQuery
- Amazon DocumentDB vs ScyllaDB
- Amazon DocumentDB vs Tinybird
- Amazon DocumentDB vs Cockroach Labs
- Amazon DocumentDB vs Elasticsearch
- Amazon DocumentDB vs Qdrant
- Amazon DocumentDB vs StarRocks
- Amazon DocumentDB vs MariaDB
- Amazon DocumentDB vs Materialize
- Amazon DocumentDB vs Memcached
- Amazon DocumentDB vs Neo4j
- Amazon DocumentDB vs Typesense
- Amazon DocumentDB vs Microsoft SQL Server
- Amazon DocumentDB vs MongoDB Atlas
- Amazon DocumentDB vs ArangoDB
- Amazon DocumentDB vs SurrealDB
- Amazon DocumentDB vs Cassandra
- Amazon DocumentDB vs Firebase Realtime Database
- Amazon DocumentDB vs FaunaDB
- Amazon DocumentDB vs RavenDB
- Amazon DocumentDB vs Cloudinary
- Amazon DocumentDB vs DBeaver
- Amazon DocumentDB vs etcd
- Amazon DocumentDB vs Fivetran HVR
- Amazon DocumentDB vs Marqo
- Amazon DocumentDB vs Microsoft Access
- Dgraph vs CosmosDB
- Dgraph vs MongoDB
- Dgraph vs Couchbase
- Dgraph vs PlanetScale
- Dgraph vs BigQuery
- Dgraph vs ScyllaDB
- Dgraph vs Tinybird
- Dgraph vs Cockroach Labs
- Dgraph vs Elasticsearch
- Dgraph vs Qdrant
- Dgraph vs StarRocks
- Dgraph vs MariaDB
- Dgraph vs Materialize
- Dgraph vs Memcached
- Dgraph vs Neo4j
- Dgraph vs Typesense
- Dgraph vs Microsoft SQL Server
- Dgraph vs MongoDB Atlas
- Dgraph vs ArangoDB
- Dgraph vs SurrealDB
- Dgraph vs Cassandra
- Dgraph vs Firebase Realtime Database
- Dgraph vs FaunaDB
- Dgraph vs RavenDB
- Dgraph vs Cloudinary
- Dgraph vs DBeaver
- Dgraph vs etcd
- Dgraph vs Fivetran HVR
- Dgraph vs Marqo
- Dgraph vs Microsoft Access
