Skip to content

Commit d77d8b8

Browse files
authored
DOCS-16048 documents balancerMigrationsThrottlingMs (#2995)
* DOCS-16048 documents balancerMigrationsThrottlingMs * internal review * external review * external feedback
1 parent d5ca1a1 commit d77d8b8

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

source/reference/parameters.txt

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

2999+
.. parameter:: balancerMigrationsThrottlingMs
3000+
3001+
.. versionadded:: 7.0 (*Also available starting in 6.3.1, 6.0.6, 5.0.18*)
3002+
3003+
*Type*: integer
3004+
3005+
*Default*: 1000
3006+
3007+
|mongod-only|
3008+
3009+
Specifies the minimum amount of time between two consecutive
3010+
balancing rounds. This allows you to throttle the balancing
3011+
rate. This parameter only takes effect on config server nodes.
3012+
3013+
This example sets ``balancerMigrationsThrottlingMs`` to 2000
3014+
milliseconds at startup:
3015+
3016+
.. code-block:: bash
3017+
3018+
mongod --setParameter balancerMigrationsThrottlingMs=2000
3019+
3020+
During runtime, you can also set the parameter with the
3021+
:dbcommand:`setParameter` command:
3022+
3023+
.. code-block:: javascript
3024+
3025+
db.adminCommand( { setParameter: 1, balancerMigrationsThrottlingMs: 2000 } )
3026+
29993027
.. parameter:: chunkDefragmentationThrottlingMS
30003028

30013029
.. versionadded:: 5.3

source/release-notes/7.0.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@ Starting in MongoDB 7.0, if you have large :ref:`change stream
3232
<changeStreams>` events that exceed 16 MB, you can use the new
3333
:pipeline:`$changeStreamSplitLargeEvent` stage to split the events into
3434
smaller fragments.
35+
36+
New Parameters
37+
~~~~~~~~~~~~~~
38+
39+
``balancerMigrationsThrottlingMs`` Parameter
40+
````````````````````````````````````````````
41+
MongoDB 7.0 adds the :parameter:`balancerMigrationsThrottlingMs`
42+
parameter which allows you to throttle the balancing rate.
43+

0 commit comments

Comments
 (0)