BASE

Dgraph

Dgraph

Database / data tool · Free

A graph database with distributed execution and query APIs: it models relationships and executes graph queries for applications.

Also known as: hypermodeinc/dgraph; dgraph; high-performance-graph-database; real-time-graph-db

Resource illustration: Dgraph

Open resource ↗

What you can use for free

Code and local use under Apache-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under Apache-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Create a backend with queries over related data
  • Upload sample related objects and test the scenario's graph query

Example workflow

A possible workflow; this is not a report of hands-on testing.

Create a backend with queries over related data.

Before you start

  • A schema, test dataset, and queries.
  • A supported database or runtime.

Steps

  1. Define the graph schema and application entity relationships.
  2. Upload sample related objects and test the scenario's graph query.
  3. Check schema changes, indexes, and data recovery.

Check your result

  • Query results match the reference data.
  • Check access permissions, backup recovery, and load before production use.

Choosing Dgraph

Create a backend with queries over related data

Choose this when

  • Create a backend with queries over related data
  • Upload sample related objects and test the scenario's graph query

Requirements

  • The officially supported server is Linux/amd64 or Linux/arm64.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.
  • Building on another platform does not imply official support.

Frequently asked questions

What can you use for free in Dgraph?

Code and local use under Apache-2.0.

What additional costs might arise with Dgraph?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Dgraph?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Dgraph?

Define the graph schema and application entity relationships. Upload sample related objects and test the scenario's graph query. Check schema changes, indexes, and data recovery.

Which environment does Dgraph officially support?

The README lists Linux/amd64 and Linux/arm64 and recommends Docker for testing and hosting. macOS and Windows have no official support, though source builds are possible for certain tasks. GraphQL queries use HTTP or gRPC with JSON/Protocol Buffers.

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Dgraph
  • database
  • Development

Sources

Other resources