@@ -96,7 +96,7 @@ Authentication Parameters
96
96
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__ or `AWS IAM environment variables
97
97
<https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html#envvars-list>`__.
98
98
99
- Maximim number of AWS IAM authentication retries after a connection
99
+ Maximum number of AWS IAM authentication retries after a connection
100
100
failure.
101
101
102
102
The following example sets :parameter:`awsSTSRetryCount` to ``15``
@@ -3957,6 +3957,47 @@ Sharding Parameters
3957
3957
3958
3958
db.adminCommand( { setParameter: 1, orphanCleanupDelaySecs: 1200 } )
3959
3959
3960
+ .. parameter:: persistedChunkCacheUpdateMaxBatchSize
3961
+
3962
+ .. versionadded:: 5.0.25
3963
+
3964
+ |mongod-only|
3965
+
3966
+ Type: Integer
3967
+
3968
+ Default: 1000
3969
+
3970
+ To route and serve operations, shards must know the routing and
3971
+ ownership information associated with their collections. This
3972
+ information propogates from a shard's primary node to its
3973
+ secondary nodes through the replication of the internal cache
3974
+ collections ``config.cache.collections`` and
3975
+ ``config.cache.chunks.<collectionName>``.
3976
+
3977
+ In previous versions, updates on the chunk cache collection were
3978
+ performed individually (meaning that an entry was deleted and a new
3979
+ entry was inserted). Starting in MongoDB 5.0.25, these updates are
3980
+ performed as a batch of deletions followed by a batch of insertions.
3981
+ The updated logic improves performance for collections that contain a
3982
+ large number of chunks.
3983
+
3984
+ The ``persistedChunkCacheUpdateMaxBatchSize`` parameter specifies the
3985
+ maximum batch size used for updating the persisted chunk cache.
3986
+
3987
+ The following example sets ``persistedChunkCacheUpdateMaxBatchSize``
3988
+ to 700 at startup:
3989
+
3990
+ .. code-block:: bash
3991
+
3992
+ mongod --setParameter persistedChunkCacheUpdateMaxBatchSize=700
3993
+
3994
+ You can also set ``persistedChunkCacheUpdateMaxBatchSize`` during
3995
+ runtime:
3996
+
3997
+ .. code-block:: javascript
3998
+
3999
+ db.adminCommand( { setParameter: 1, persistedChunkCacheUpdateMaxBatchSize: 700 } )
4000
+
3960
4001
.. parameter:: rangeDeleterBatchDelayMS
3961
4002
3962
4003
|mongod-only|
0 commit comments