Skip to content

Commit 46d707c

Browse files
authored
DOCS-16070 backports DOCS-16048 to v5.0 (#3020)
1 parent 71afffb commit 46d707c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

source/reference/parameters.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,34 @@ Sharding Parameters
26722672
``AsyncRequestsSenderUseBaton`` and always enables the performance
26732673
enhancement controlled by the parameter.
26742674

2675+
.. parameter:: balancerMigrationsThrottlingMs
2676+
2677+
.. versionadded:: 7.0 (*Also available starting in 6.3.1, 6.0.6, 5.0.18*)
2678+
2679+
*Type*: integer
2680+
2681+
*Default*: 1000
2682+
2683+
|mongod-only|
2684+
2685+
Specifies the minimum amount of time between two consecutive
2686+
balancing rounds. This allows you to throttle the balancing
2687+
rate. This parameter only takes effect on config server nodes.
2688+
2689+
This example sets ``balancerMigrationsThrottlingMs`` to 2000
2690+
milliseconds at startup:
2691+
2692+
.. code-block:: bash
2693+
2694+
mongod --setParameter balancerMigrationsThrottlingMs=2000
2695+
2696+
During runtime, you can also set the parameter with the
2697+
:dbcommand:`setParameter` command:
2698+
2699+
.. code-block:: javascript
2700+
2701+
db.adminCommand( { setParameter: 1, balancerMigrationsThrottlingMs: 2000 } )
2702+
26752703
.. parameter:: chunkMigrationConcurrency
26762704

26772705
*Available starting in MongoDB 5.0.15.*

0 commit comments

Comments
 (0)