Skip to content

Commit ac6541b

Browse files
authored
DOCS-16392 Document periodicNoopIntervalSecs (#4975) (#5052)
* DOCS-16392 Document periodicNoopIntervalSecs * IF feedback
1 parent d9ae599 commit ac6541b

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
@@ -2371,6 +2371,31 @@ If you attempt to update ``disableSplitHorizonIPCheck`` at runtime,
23712371

23722372
mongod --setParameter oplogBatchDelayMillis=20
23732373

2374+
.. parameter:: periodicNoopIntervalSecs
2375+
2376+
|mongod-only|
2377+
2378+
*Type*: integer
2379+
2380+
*Default*: 10
2381+
2382+
The duration in seconds between :term:`noop` writes on each individual node.
2383+
2384+
You can only set the parameter during startup, and cannot change
2385+
this setting using the :dbcommand:`setParameter` database command.
2386+
2387+
.. note::
2388+
2389+
To modify this value for a :atlas:`MongoDB Atlas </>` cluster, you
2390+
must contact :atlas:`Atlas Support </support>`.
2391+
2392+
The following example sets the ``periodicNoopIntervalSecs`` to 1 second at
2393+
startup:
2394+
2395+
.. code-block:: javascript
2396+
2397+
mongod --setParameter periodicNoopIntervalSecs=1
2398+
23742399
.. parameter:: storeFindAndModifyImagesInSideCollection
23752400

23762401
.. versionadded:: 5.1

0 commit comments

Comments
 (0)