New database commands
MongoDB 8.0 also provides new database commands with driver-level support to extend prior database capabilities. These commands are typically ad-hoc administrative tasks.
Collection database commands
MongoDB 8.0 introduces the following collection-level database commands:
abortMoveCollection
: Halts an in-progressmoveCollection
operationunshardCollection
: Unshards an existing sharded collectionabortUnshardCollection
: Halts an in-progressunshardCollection
operationmoveCollection
: Moves a single unsharded collection to a different shard
Server database commands
MongoDB 8.0 introduces the following server-level database commands:
transitionFromDedicatedConfigServer
: Transitions a config server from a dedicated config server to a config shardtransitionToDedicatedConfigServer
: Transitions a config server from a config shard to a dedicated config server