Skip to content

Commit c73d4f6

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-15039 throttling parameter (#367) (#375)
* DOCS-15039 throttling parameter * DOCS-15039 throttling parameter * DOCS-15039 throttling parameter * DOCS-15039 throttling parameter Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]>
1 parent fa54b72 commit c73d4f6

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

source/reference/parameters.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,6 +2814,36 @@ Sharding Parameters
28142814
``AsyncRequestsSenderUseBaton`` and always enables the performance
28152815
enhancement controlled by the parameter.
28162816

2817+
.. parameter:: chunkDefragmentationThrottlingMS
2818+
2819+
.. versionadded:: 5.3
2820+
2821+
*Type*: integer
2822+
2823+
*Default*: 0
2824+
2825+
|both|
2826+
2827+
Specifies the minimum time period (in milliseconds) between
2828+
consecutive split and merge commands run by the :term:`balancer` when
2829+
the :term:`chunks <chunk>` in a :term:`sharded <sharding>` collection
2830+
are defragmented. :parameter:`chunkDefragmentationThrottlingMS`
2831+
limits the rate of split and merge commands.
2832+
2833+
The following example sets
2834+
:parameter:`chunkDefragmentationThrottlingMS` to ``10`` milliseconds:
2835+
2836+
.. code-block:: bash
2837+
2838+
mongod --setParameter chunkDefragmentationThrottlingMS=10
2839+
2840+
During runtime, you can also set the parameter with the
2841+
:dbcommand:`setParameter` command:
2842+
2843+
.. code-block:: javascript
2844+
2845+
db.adminCommand( { setParameter: 1, chunkDefragmentationThrottlingMS: 10 } )
2846+
28172847
.. parameter:: disableResumableRangeDeleter
28182848

28192849
.. versionadded:: 4.4

source/release-notes/5.3.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ Management Interoperability Protocol (KMIP) server to securely manage
3838
the keys for :ref:`encrypting the MongoDB audit log
3939
<security-encryption-at-rest-audit-log>`.
4040

41+
.. _5.3-rel-notes-sharding:
42+
43+
Sharding
44+
--------
45+
46+
Starting in MongoDB 5.3, you can use the new
47+
:parameter:`chunkDefragmentationThrottlingMS` parameter to limit the
48+
rate of split and merge commands run by the :term:`balancer` when the
49+
:term:`chunks <chunk>` in a :term:`sharded <sharding>` collection are
50+
defragmented.
51+
4152
Report an Issue
4253
---------------
4354

0 commit comments

Comments
 (0)