Skip to content

Commit 4519dd9

Browse files
authored
DOCS-16392 Document periodicNoopIntervalSecs (#4975)
* DOCS-16392 Document periodicNoopIntervalSecs * IF feedback
1 parent 314c38e commit 4519dd9

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
@@ -2625,6 +2625,31 @@ If you attempt to update ``disableSplitHorizonIPCheck`` at run time,
26252625

26262626
mongod --setParameter oplogBatchDelayMillis=20
26272627

2628+
.. parameter:: periodicNoopIntervalSecs
2629+
2630+
|mongod-only|
2631+
2632+
*Type*: integer
2633+
2634+
*Default*: 10
2635+
2636+
The duration in seconds between :term:`noop` writes on each individual node.
2637+
2638+
You can only set the parameter during startup, and cannot change
2639+
this setting using the :dbcommand:`setParameter` database command.
2640+
2641+
.. note::
2642+
2643+
To modify this value for a :atlas:`MongoDB Atlas </>` cluster, you
2644+
must contact :atlas:`Atlas Support </support>`.
2645+
2646+
The following example sets the ``periodicNoopIntervalSecs`` to 1 second at
2647+
startup:
2648+
2649+
.. code-block:: javascript
2650+
2651+
mongod --setParameter periodicNoopIntervalSecs=1
2652+
26282653
.. parameter:: storeFindAndModifyImagesInSideCollection
26292654

26302655
.. versionadded:: 5.1

0 commit comments

Comments
 (0)