Docs HomeMongoDB Manual

sh.startAutoMerger()

Definition定义

sh.startAutoMerger()

New in version 7.0. 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:以下示例启用“自动合并”。运行mongos中的示例:

sh.startAutoMerger()

Learn More了解更多信息