File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -2814,6 +2814,36 @@ Sharding Parameters
2814
2814
``AsyncRequestsSenderUseBaton`` and always enables the performance
2815
2815
enhancement controlled by the parameter.
2816
2816
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
+
2817
2847
.. parameter:: disableResumableRangeDeleter
2818
2848
2819
2849
.. versionadded:: 4.4
Original file line number Diff line number Diff line change @@ -38,6 +38,17 @@ Management Interoperability Protocol (KMIP) server to securely manage
38
38
the keys for :ref:`encrypting the MongoDB audit log
39
39
<security-encryption-at-rest-audit-log>`.
40
40
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
+
41
52
Report an Issue
42
53
---------------
43
54
You can’t perform that action at this time.
0 commit comments