sh.startAutoMerger()
On this page本页内容
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了解更多信息
The AutoMerger自动合并sh.stopAutoMerger()
method方法sh.enableAutoMerger()
method方法sh.disableAutoMerger()
method方法
configureCollectionBalancing
command命令mergeAllChunksOnShard
command命令autoMergerIntervalSecs
parameter参数autoMergerThrottlingMS
parameter参数