OS Manuals

/usr/bin/dgraph

A distributed graph database

From dgraph 25.5.1-r3 (os), captured 2026-11-07 by running dgraph --help (exit 0). permalink

Dgraph is a horizontally scalable and distributed graph database,
providing ACID transactions, consistent replication and linearizable reads.
It's built from the ground up to perform for a rich set of queries. Being a native
graph database, it tightly controls how the data is arranged on disk to optimize
for query performance and throughput, reducing disk seeks and network calls in a
cluster.
Dgraph version   :
Dgraph codename  :
Dgraph SHA-256   : dba412fc0b4e4c6725a5e4456e006bb385e0819ea2149bfc74243854ced7d861
Commit SHA-1     :
Commit timestamp :
Branch           :
Go version       : go1.27.3
jemalloc enabled : false
GOMAXPROCS       : 64
Num CPUs         : 64

For Dgraph official documentation, visit https://docs.dgraph.io
For discussions about Dgraph     , visit https://github.com/orgs/dgraph-io/discussions

Licensed under the Apache Public License 2.0.
© Istari Digital, Inc.

Usage:
  dgraph [command]

Generic:
 help          Help about any command
 version       Prints the dgraph version details

Available Commands:

Dgraph Core:
  alpha         Run Dgraph Alpha database server
  zero          Run Dgraph Zero management server

Data Loading:
  bulk          Run Dgraph Bulk Loader
  import        Run Dgraph Import
  live          Run Dgraph Live Loader
  restore       Restore backup from Dgraph

Dgraph Security:
  acl           Run the Dgraph ACL tool
  audit         Dgraph audit tool
  cert          Dgraph TLS certificate management

Dgraph Debug:
  debug         Debug Dgraph instance
  debuginfo     Generate debug information on the current node

Dgraph Tools:
  checkupgrade  Run the checkupgrade tool
  completion    Generates shell completion scripts for bash or zsh
  conv          Dgraph Geo file converter
  decrypt       Run the Dgraph decryption tool
  export_backup Export data inside single full or incremental backup
  increment     Increment a counter transactionally
  lsbackup      List info on backups in a given location
  mcp           Run Dgraph MCP server
  migrate       Run the Dgraph migration tool from a MySQL database to Dgraph
  upgrade       Run the Dgraph upgrade tool

Flags:
      --alsologtostderr                   log to standard error as well as files
      --bindall                           Use 0.0.0.0 instead of localhost to bind to all addresses on local machine. (default true)
      --block_rate int                    Block profiling rate. Must be used along with block profile_mode
      --config string                     Configuration file. Takes precedence over default values, but is overridden to values set with environment variables and flags.
      --cwd string                        Change working directory to the path specified. The parent must exist.
  -h, --help                              help for dgraph
      --log_backtrace_at traceLocations   when logging hits line file:N, emit a stack trace
      --log_dir string                    If non-empty, write log files in this directory
      --log_link string                   If non-empty, add symbolic links in this directory to the log files
      --logbuflevel int                   Buffer log messages logged at this level or lower (-1 means don't buffer; 0 means buffer INFO only; ...). Has limited applicability on non-prod platforms.
      --logtostderr                       log to standard error instead of files
      --profile_mode string               Enable profiling mode, one of [cpu, mem, mutex, block]
  -v, --v Level                           log level for V logs
      --vmodule vModuleFlag               comma-separated list of pattern=N settings for file-filtered logging
Options (14)
OptionDescriptionSource
--alsologtostderrlog to standard error as well as fileshelp
--bindallUse 0.0.0.0 instead of localhost to bind to all addresses on local machine.help
--block_rate intBlock profiling rate.help
--config stringConfiguration file.help
--cwd stringChange working directory to the path specified.help
-h, --helphelp for dgraphhelp
--log_backtrace_at traceLocationswhen logging hits line file:N, emit a stack tracehelp
--log_dir stringIf non-empty, write log files in this directoryhelp
--log_link stringIf non-empty, add symbolic links in this directory to the log fileshelp
--logbuflevel intBuffer log messages logged at this level or lower (-1 means don't buffer;help
--logtostderrlog to standard error instead of fileshelp
--profile_mode stringEnable profiling mode, one of [cpu, mem, mutex, block]help
-v, --v Levellog level for V logshelp
--vmodule vModuleFlagcomma-separated list of pattern=N settings for file-filtered logginghelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.