Databases · head to head
BigQuery vs Dgraph

BigQuery
Databases
Google Cloud's serverless analytical warehouse, billed either by bytes scanned per query or by reserved compute slots.
- From
- Free
- Free plan
- Yes

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
- Free plans on both; paid from $6.25/mo and $39/mo.
- Only BigQuery lists serverless compute; only Dgraph lists apache 2.0 licence.
How do BigQuery and Dgraph differ?
BigQuery and Dgraph differ on pricing model (Usage-based against Freemium), platforms and year founded (2008 against 2016). Only the attributes on which BigQuery and Dgraph actually diverge.
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Which features does each one have?
They share no listed features; 10 appear only for BigQuery 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 BigQuery
- Serverless compute
- Separation of storage and compute
- Two pricing models
- Partitioning and clustering
- Materialised views
- BigQuery ML
- Storage Write API
- BI Engine
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?
The jobs each tool is most often brought in to do.
BigQuery
- A warehouse for an organisation already on Google Cloud, where identity, logging and billing are consolidated in the same placenot Dgraph
- Bursty analytical workloads with long idle periods, where paying per query beats keeping a cluster runningnot Dgraph
- Event and clickstream analytics ingested continuously through the Storage Write API and queried without a load windownot Dgraph
- Analytics teams with no infrastructure staff, where the absence of anything to tune or patch is worth more than dialect portabilitynot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot BigQuery
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot BigQuery
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot BigQuery
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot BigQuery
Where do BigQuery and Dgraph fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
BigQuery
- On-demand billing charges for bytes read from every column a query references, so an unqualified select or a missing partition filter turns a routine query into a large bill, and the cost is discovered after the fact rather than at review time
- There is no way to join tables that live in different regions, so a data estate split across regions for residency reasons has to be reconciled with copies and the storage and transfer that implies
- It is not built for point lookups; retrieving a single row has latency measured in hundreds of milliseconds or more, so BigQuery cannot serve an application's read path and always needs a second store in front of it
- Frequent small mutations run into DML concurrency limits and the cost of rewriting storage blocks, so a workload that updates individual rows continuously behaves badly compared with an append-only design
- The compute exists only inside Google Cloud, so while tables can be exported, the accumulated GoogleSQL, scheduled queries, authorised views, ML models and IAM structure do not move, and switching warehouses is a rewrite of the analytical layer
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 BigQuery and Dgraph cost?
BigQuery has a free plan, with paid plans from $6.25/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
BigQuery
Free- Free TierFree
- 1TB queries/month
- 10GB storage/month
- Standard support
- On-demand$6.25/tb
- Pay per query
- Pay per storage
- All features
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose BigQuery if
- You need serverless compute.
- You want to start without paying.
- You work on Web, API.
- You also want separation of storage and compute.
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 BigQuery or Dgraph better?
- It depends on the job. BigQuery fits a warehouse for an organisation already on Google Cloud, where identity, logging and billing are consolidated in the same place; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. BigQuery starts at Free and Dgraph at Free.
- Which is cheaper, BigQuery or Dgraph?
- BigQuery starts at Free and Dgraph at Free.
- Does BigQuery or Dgraph run on more platforms?
- BigQuery runs on Web, API. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use BigQuery for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is BigQuery best used for?
- BigQuery is most often used for a warehouse for an organisation already on google cloud, where identity, logging and billing are consolidated in the same place, bursty analytical workloads with long idle periods, where paying per query beats keeping a cluster running, event and clickstream analytics ingested continuously through the storage write api and queried without a load window, analytics teams with no infrastructure staff, where the absence of anything to tune or patch is worth more than dialect portability. Of those, a warehouse for an organisation already on google cloud, where identity, logging and billing are consolidated in the same place and bursty analytical workloads with long idle periods, where paying per query beats keeping a cluster running are not what Dgraph is typically brought in for.
- What can BigQuery do that Dgraph cannot?
- BigQuery covers Serverless compute, Separation of storage and compute, Two pricing models, Partitioning and clustering. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
BigQuery: How is BigQuery actually billed?
Storage is billed separately from compute. Compute is either on-demand, priced by the bytes a query reads from the referenced columns, or capacity-based, where you reserve autoscaling slots. Most cost surprises come from on-demand queries that scan more than expected.
Dgraph: 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.
BigQuery: How do I control query cost?
Partition and cluster tables so queries prune data, select only the columns needed, use materialised views for repeated aggregations, and set maximum bytes billed on queries so a runaway scan fails instead of billing.
Dgraph: 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.
BigQuery: Can I use it without being on Google Cloud?
The service only runs on Google Cloud. BigQuery Omni can query data held in S3 or Azure storage, but the compute is still Google's and the account relationship is still with Google.
Dgraph: 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.
BigQuery: Is it suitable for serving application queries?
No. Latency for single-row reads is far too high. BigQuery is an analytical warehouse and application read paths need a transactional database or a cache in front of it.
Dgraph: 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.
BigQuery: When should I move from on-demand to capacity pricing?
When on-demand spend becomes both large and predictable, or when unpredictable spend is a bigger problem than query queueing. The switch trades a variable bill for a fixed one plus contention between workloads.
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
Other head to heads
- BigQuery vs Snowflake
- BigQuery vs Amazon Redshift
- BigQuery vs Firebolt
- BigQuery vs MotherDuck
- BigQuery vs ClickHouse
- BigQuery vs Dremio
- BigQuery vs Teradata
- BigQuery vs Vertica
- BigQuery vs FaunaDB
- BigQuery vs DuckDB
- BigQuery vs TiDB
- BigQuery vs SurrealDB
- BigQuery vs Timeplus
- BigQuery vs Vitess
- BigQuery vs Canary Labs
- BigQuery vs Convex
- BigQuery vs DataStax
- BigQuery vs Amazon RDS
- BigQuery vs ArangoDB
- BigQuery vs Neo4j
- BigQuery vs Azure Cosmos DB
- BigQuery vs Elasticsearch
- BigQuery vs Couchbase
- BigQuery vs Cassandra
- BigQuery vs Aerospike
- BigQuery vs Firebase Realtime Database
- BigQuery vs ScyllaDB
- BigQuery vs RavenDB
- BigQuery vs Nile
- BigQuery vs Readyset
- BigQuery vs SAP HANA
- BigQuery vs Airtable
- BigQuery vs Supabase
- Dgraph vs Snowflake
- Dgraph vs Amazon Redshift
- Dgraph vs Firebolt
- Dgraph vs MotherDuck
- Dgraph vs ClickHouse
- Dgraph vs Dremio
- Dgraph vs Teradata
- Dgraph vs Vertica
- Dgraph vs FaunaDB
- Dgraph vs DuckDB
- Dgraph vs TiDB
- Dgraph vs SurrealDB
- Dgraph vs Timeplus
- Dgraph vs Vitess
- Dgraph vs Canary Labs
- Dgraph vs Convex
- Dgraph vs DataStax
- Dgraph vs Amazon RDS
- Dgraph vs ArangoDB
- Dgraph vs Neo4j
- Dgraph vs Azure Cosmos DB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs Aerospike
- Dgraph vs Firebase Realtime Database
- Dgraph vs ScyllaDB
- Dgraph vs RavenDB
- Dgraph vs Nile
- Dgraph vs Readyset
- Dgraph vs SAP HANA
- Dgraph vs Airtable
- Dgraph vs Supabase
