Skip to content

Commit 01a362c

Browse files
authored
DOCS-16392 Document periodicNoopIntervalSecs (#4975) (#5054)
* DOCS-16392 Document periodicNoopIntervalSecs * IF feedback
1 parent 4a07d9e commit 01a362c

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
@@ -2116,6 +2116,31 @@ Logical Session
21162116

21172117
mongod --setParameter maxSessions=1000
21182118

2119+
.. parameter:: periodicNoopIntervalSecs
2120+
2121+
|mongod-only|
2122+
2123+
*Type*: integer
2124+
2125+
*Default*: 10
2126+
2127+
The duration in seconds between :term:`noop` writes on each individual node.
2128+
2129+
You can only set the parameter during startup, and cannot change
2130+
this setting using the :dbcommand:`setParameter` database command.
2131+
2132+
.. note::
2133+
2134+
To modify this value for a :atlas:`MongoDB Atlas </>` cluster, you
2135+
must contact :atlas:`Atlas Support </support>`.
2136+
2137+
The following example sets the ``periodicNoopIntervalSecs`` to 1 second at
2138+
startup:
2139+
2140+
.. code-block:: javascript
2141+
2142+
mongod --setParameter periodicNoopIntervalSecs=1
2143+
21192144
.. parameter:: TransactionRecordMinimumLifetimeMinutes
21202145

21212146
.. versionadded:: 3.6

0 commit comments

Comments
 (0)