sh.startAutoMerger()
On this page
Definition
New in version 7.0.
Enables the AutoMerger.
Syntax
sh.startAutoMerger()
Behavior
To set the time intervals for automatic chunk merges, use these parameters:
Example
The following example enables the AutoMerger. Run the example
from mongos
:
sh.startAutoMerger()
Learn More
sh.stopAutoMerger()
methodsh.enableAutoMerger()
methodsh.disableAutoMerger()
method
configureCollectionBalancing
commandmergeAllChunksOnShard
commandautoMergerIntervalSecs
parameterautoMergerThrottlingMS
parameter