Docs Menu

Docs HomeMongoDB Manual

sh.startAutoMerger()

On this page

  • Definition
  • Syntax
  • Behavior
  • Example
  • Learn More
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()
←  sh.splitFind()sh.startBalancer() →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.