Docs Menu

sh.startAutoMerger()

sh.startAutoMerger()

New in version 7.0.

Enables the AutoMerger.

sh.startAutoMerger()

To set the time intervals for automatic chunk merges, use these parameters:

The following example enables the AutoMerger. Run the example from mongos:

sh.startAutoMerger()