File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -3014,6 +3014,40 @@ Sharding Parameters
3014
3014
3015
3015
db.adminCommand( { setParameter: 1, chunkDefragmentationThrottlingMS: 10 } )
3016
3016
3017
+ .. parameter:: chunkMigrationConcurrency
3018
+
3019
+ *Available starting in MongoDB 6.0.5 (and 5.0.16)*
3020
+
3021
+ *Type*: integer
3022
+
3023
+ *Default*: 1
3024
+
3025
+ |both|
3026
+
3027
+ Specifies an integer that sets the number of threads on the source
3028
+ shard and the receiving shard for :ref:`chunk migration
3029
+ <migrate-chunks-sharded-cluster>`.
3030
+
3031
+ Increasing the concurrency improves chunk migration performance, but
3032
+ also increases the workload and disk IOPS usage on the the source
3033
+ shard and the receiving shard.
3034
+
3035
+ Maximum value is 500. You should typically use fewer than 32 threads
3036
+ unless you are using NVMe (Non-Volatile Memory Express) disks.
3037
+
3038
+ The following example sets ``chunkMigrationConcurrency`` to ``5``:
3039
+
3040
+ .. code-block:: bash
3041
+
3042
+ mongod --setParameter chunkMigrationConcurrency=5
3043
+
3044
+ During runtime, you can also set the parameter with the
3045
+ :dbcommand:`setParameter` command:
3046
+
3047
+ .. code-block:: javascript
3048
+
3049
+ db.adminCommand( { setParameter: 1, chunkMigrationConcurrency: 5 } )
3050
+
3017
3051
.. parameter:: disableResumableRangeDeleter
3018
3052
3019
3053
.. versionadded:: 4.4
You can’t perform that action at this time.
0 commit comments