@@ -3014,49 +3014,6 @@ 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.15).*
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.
3036
-
3037
- You should typically use half the total number of CPU cores as
3038
- threads. For example, if the total is 16 cores, set
3039
- ``chunkMigrationConcurrency`` to 8 threads (or fewer).
3040
-
3041
- If ``chunkMigrationConcurrency`` is greater than ``1``, the
3042
- ``_secondaryThrottle`` configuration setting is ignored. The
3043
- ``_secondaryThrottle`` setting determines when the chunk migration
3044
- proceeds with the next document in the chunk. For details, see
3045
- :ref:`chunk-migration-replication`.
3046
-
3047
- The following example sets ``chunkMigrationConcurrency`` to ``5``:
3048
-
3049
- .. code-block:: bash
3050
-
3051
- mongod --setParameter chunkMigrationConcurrency=5
3052
-
3053
- During runtime, you can also set the parameter with the
3054
- :dbcommand:`setParameter` command:
3055
-
3056
- .. code-block:: javascript
3057
-
3058
- db.adminCommand( { setParameter: 1, chunkMigrationConcurrency: 5 } )
3059
-
3060
3017
.. parameter:: disableResumableRangeDeleter
3061
3018
3062
3019
.. versionadded:: 4.4
0 commit comments