Skip to content

Commit f42b9f8

Browse files
authored
DOCS-16392 Document periodicNoopIntervalSecs (#4975) (#5053)
* DOCS-16392 Document periodicNoopIntervalSecs * IF feedback
1 parent 4f4b775 commit f42b9f8

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

22292229
mongod --setParameter oplogBatchDelayMillis=20
22302230

2231+
.. parameter:: periodicNoopIntervalSecs
2232+
2233+
|mongod-only|
2234+
2235+
*Type*: integer
2236+
2237+
*Default*: 10
2238+
2239+
The duration in seconds between :term:`noop` writes on each individual node.
2240+
2241+
You can only set the parameter during startup, and cannot change
2242+
this setting using the :dbcommand:`setParameter` database command.
2243+
2244+
.. note::
2245+
2246+
To modify this value for a :atlas:`MongoDB Atlas </>` cluster, you
2247+
must contact :atlas:`Atlas Support </support>`.
2248+
2249+
The following example sets the ``periodicNoopIntervalSecs`` to 1 second at
2250+
startup:
2251+
2252+
.. code-block:: javascript
2253+
2254+
mongod --setParameter periodicNoopIntervalSecs=1
2255+
22312256
.. parameter:: TransactionRecordMinimumLifetimeMinutes
22322257

22332258
.. versionadded:: 3.6

0 commit comments

Comments
 (0)