reset-stats

The reset-stats command resets the Dgraph statistics.

Note: Statistics are intended for use by Oracle Support only.
To reset Dgraph statistics, run the following from the Admin Server:
./bdd-admin.sh reset-stats [option <arg>]

reset-stats supports the following options.

Option Description
-c, --component <component(s)> A comma-separated list of the components to run on:
  • dgraph: Dgraph
-n, --node <hostname(s)> A comma-separated list of the nodes to run on. Each must be defined in $BDD_HOME/BDD_manager/conf/bdd.conf.

If no options are specified, the script resets the statistics for all Dgraph instances in the cluster.

For more information on Dgraph statistics, see Dgraph statistics.

Examples

The following command resets the statistics for all Dgraph instances in the cluster:
./bdd-admin.sh reset-stats
The following command resets the statistics for the Dgraph running on the web009.us.example.com node:
./bdd-admin.sh reset-stats -n web009.us.example.com