Skip to content

Commit e5dcae8

Browse files
authored
DOCS-16392 Document periodicNoopIntervalSecs (#4975) (#5051)
* DOCS-16392 Document periodicNoopIntervalSecs * IF feedback
1 parent 1354e61 commit e5dcae8

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

source/administration/change-streams-production-recommendations.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ no activity for the collection, or are "cold", can negatively affect the
6767
response time of the change stream as the :binary:`~bin.mongos` must still check
6868
with those cold shards to guarantee total ordering of changes. This effect may
6969
be more apparent with geographically distributed shards, or workloads where
70-
the majority of operations occur on a subset of shards in the cluster.
70+
the majority of operations occur on a subset of shards in the cluster. To
71+
minimize latency for cold shards, you can specify a lower
72+
:parameter:`periodicNoopIntervalSecs` value.
7173

7274
If a sharded collection has high levels of activity, the :binary:`~bin.mongos`
7375
may not be able to keep up with the changes across all of the shards.

source/reference/parameters.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2585,6 +2585,31 @@ If you attempt to update ``disableSplitHorizonIPCheck`` at run time,
25852585

25862586
mongod --setParameter oplogBatchDelayMillis=20
25872587

2588+
.. parameter:: periodicNoopIntervalSecs
2589+
2590+
|mongod-only|
2591+
2592+
*Type*: integer
2593+
2594+
*Default*: 10
2595+
2596+
The duration in seconds between :term:`noop` writes on each individual node.
2597+
2598+
You can only set the parameter during startup, and cannot change
2599+
this setting using the :dbcommand:`setParameter` database command.
2600+
2601+
.. note::
2602+
2603+
To modify this value for a :atlas:`MongoDB Atlas </>` cluster, you
2604+
must contact :atlas:`Atlas Support </support>`.
2605+
2606+
The following example sets the ``periodicNoopIntervalSecs`` to 1 second at
2607+
startup:
2608+
2609+
.. code-block:: javascript
2610+
2611+
mongod --setParameter periodicNoopIntervalSecs=1
2612+
25882613
.. parameter:: storeFindAndModifyImagesInSideCollection
25892614

25902615
.. versionadded:: 5.1

0 commit comments

Comments
 (0)