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 @@ -2712,6 +2712,40 @@ Sharding Parameters
2712
2712
``AsyncRequestsSenderUseBaton`` and always enables the performance
2713
2713
enhancement controlled by the parameter.
2714
2714
2715
+ .. parameter:: chunkMigrationConcurrency
2716
+
2717
+ *Available starting in MongoDB 5.0.16*
2718
+
2719
+ *Type*: integer
2720
+
2721
+ *Default*: 1
2722
+
2723
+ |both|
2724
+
2725
+ Specifies an integer that sets the number of threads on the source
2726
+ shard and the receiving shard for :ref:`chunk migration
2727
+ <migrate-chunks-sharded-cluster>`.
2728
+
2729
+ Increasing the concurrency improves chunk migration performance, but
2730
+ also increases the workload and disk IOPS usage on the the source
2731
+ shard and the receiving shard.
2732
+
2733
+ Maximum value is 500. You should typically use fewer than 32 threads
2734
+ unless you are using NVMe (Non-Volatile Memory Express) disks.
2735
+
2736
+ The following example sets ``chunkMigrationConcurrency`` to ``5``:
2737
+
2738
+ .. code-block:: bash
2739
+
2740
+ mongod --setParameter chunkMigrationConcurrency=5
2741
+
2742
+ During runtime, you can also set the parameter with the
2743
+ :dbcommand:`setParameter` command:
2744
+
2745
+ .. code-block:: javascript
2746
+
2747
+ db.adminCommand( { setParameter: 1, chunkMigrationConcurrency: 5 } )
2748
+
2715
2749
.. parameter:: disableResumableRangeDeleter
2716
2750
2717
2751
.. versionadded:: 4.4
You can’t perform that action at this time.
0 commit comments