File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -3064,6 +3064,40 @@ Sharding Parameters
3064
3064
3065
3065
db.adminCommand( { setParameter: 1, chunkDefragmentationThrottlingMS: 10 } )
3066
3066
3067
+ .. parameter:: chunkMigrationConcurrency
3068
+
3069
+ .. versionadded:: 6.3
3070
+
3071
+ *Type*: integer
3072
+
3073
+ *Default*: 1
3074
+
3075
+ |both|
3076
+
3077
+ Specifies an integer that sets the number of threads on the source
3078
+ shard and the receiving shard for :ref:`chunk migration
3079
+ <migrate-chunks-sharded-cluster>`.
3080
+
3081
+ Increasing the concurrency improves chunk migration performance, but
3082
+ also increases the workload and disk IOPS usage on the the source
3083
+ shard and the receiving shard.
3084
+
3085
+ Maximum value is 500. You should typically use fewer than 32 threads
3086
+ unless you are using NVMe (Non-Volatile Memory Express) disks.
3087
+
3088
+ The following example sets ``chunkMigrationConcurrency`` to ``5``:
3089
+
3090
+ .. code-block:: bash
3091
+
3092
+ mongod --setParameter chunkMigrationConcurrency=5
3093
+
3094
+ During runtime, you can also set the parameter with the
3095
+ :dbcommand:`setParameter` command:
3096
+
3097
+ .. code-block:: javascript
3098
+
3099
+ db.adminCommand( { setParameter: 1, chunkMigrationConcurrency: 5 } )
3100
+
3067
3101
.. parameter:: disableResumableRangeDeleter
3068
3102
3069
3103
.. versionadded:: 4.4
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ Starting in MongoDB 6.3, these server parameters were added:
82
82
the establishment of slow server connections.
83
83
- :parameter:`connectionAcquisitionToWireLoggingRate` determines when an
84
84
event is added to the log for connection acquisitions.
85
+ - :parameter:`chunkMigrationConcurrency` sets the number of threads on
86
+ the source shard and the receiving shard for migrating chunks.
85
87
86
88
Time Series Collection Parameters
87
89
---------------------------------
You can’t perform that action at this time.
0 commit comments