Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions source/reference/parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3261,28 +3261,27 @@ Sharding Parameters

Type: Non-negative integer

Default: 0
Default: 128

The maximum number of documents in each batch to delete during the
cleanup stage of :ref:`chunk migration <chunk-migration-procedure>`
(or the :dbcommand:`cleanupOrphaned` command).

The default value of ``0`` indicates that the system chooses an
appropriate value, generally 128 documents.
A value of ``0`` indicates that the system chooses the default value.

The following sets the :parameter:`rangeDeleterBatchSize` to 100
The following example sets :parameter:`rangeDeleterBatchSize` to 32
documents:

.. code-block:: sh

mongod --setParameter rangeDeleterBatchSize=100
mongod --setParameter rangeDeleterBatchSize=32

The parameter may also be set using the :dbcommand:`setParameter`
command:

.. code-block:: javascript

db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 100 } )
db.adminCommand( { setParameter: 1, rangeDeleterBatchSize: 32 } )

.. parameter:: skipShardingConfigurationChecks

Expand Down