Administrative (or admin) operations listed in this topic allow you to control the behavior of the Dgraph processes in a data domain.
Admin operation | Description |
---|---|
/admin/datadomain?op=help | Returns the usage page for all of the admin operations. |
/admin/datadomain?op=flush | Specifies when the Dgraph should flush its dynamic cache. |
/admin/datadomain?op=logroll | Forces a query log roll. |
/admin/datadomain?op=merge | Merges update generations in the index and sets the system's merge policy. |
/admin/datadomain?op=ping | Checks the aliveness of a Dgraph and returns a lightweight message. |
/admin/datadomain?op=stats | Returns the Dgraph Statistics page, for the
specific Dgraph on which this command runs.
In a data domain cluster, if you issue this command, it will run on any Dgraph process that it locates. Therefore, In an Endeca Server cluster hosting one or more data domain clusters, to obtain the Dgraph node statistics for the nodes in the data domain, run endeca-cmd get-dd-stats, which returns the Dgraph statistics for all Dgraph nodes in the data domain. |
/admin/datadomain?op=statsreset | Resets the Dgraph Statistics page for one of the Dgraphs in the data domain. |