MQL reference navigation
MongoDB Query Language (MQL) Diagnostic Commands
Diagnostic commands report the status, configuration, and version information of a DocumentDB server. Use them to inspect the topology, confirm connectivity, and determine which version of the DocumentDB engine you are connected to.
collStats
Return collection statistics in DocumentDB with a configurable size scale.
compact
Run collection maintenance, update statistics, or estimate reclaimable storage in DocumentDB.
Compatibility commands
Describe the simple responses of DocumentDB compatibility wire commands.
currentOp
Inspect active operations in DocumentDB using supported currentOp fields and filters.
dbStats
Return statistics for the current logical DocumentDB database.
explain
Explain supported DocumentDB read commands and select diagnostic verbosity.
hello
The hello command returns information about the DocumentDB server, including topology role, wire protocol limits, and the DocumentDB engine version.
killOp
Cancel a DocumentDB operation using the string identifier reported by currentOp.
validate
Validate DocumentDB collection metadata and indexes with supported validation modes.
Wire-command support and common fields
Source-correlated inventory of DocumentDB wire commands, shared options, compatibility responses, and provider-dependent commands.