@@ -13,13 +13,34 @@ MongoDB Server Parameters
13
13
Synopsis
14
14
--------
15
15
16
- MongoDB provides a number of configuration options that are accessible
17
- via the :dbcommand:`setParameter` command or the
18
- ``--setParameter`` option.
16
+ MongoDB provides a number of configuration options that you can set
17
+ using:
18
+
19
+ - the :dbcommand:`setParameter` command:
20
+
21
+ .. code-block:: javascript
22
+
23
+ db.adminCommand( { setParameter: 1, <parameter>: <value> } )
24
+
25
+ - the :setting:`setParameter` configuration setting:
26
+
27
+ .. code-block:: yaml
28
+
29
+ setParameter:
30
+ <parameter1>: <value1>
31
+ ...
32
+
33
+ - the ``--setParameter`` command-line option for :option:`mongod <mongod --setParameter>`
34
+ and :option:`mongos <mongos --setParameter>`:
35
+
36
+ .. code-block:: sh
37
+
38
+ mongod --setParameter <parameter>=<value>
39
+ mongos --setParameter <parameter>=<value>
19
40
20
41
For additional configuration options, see
21
- :doc:`/reference/configuration-options` and :doc:`Manual Page for
22
- mongod </reference/program/mongod> `.
42
+ :doc:`/reference/configuration-options`, :binary:`~bin.mongod` and
43
+ :binary:`~bin.mongos `.
23
44
24
45
Parameters
25
46
----------
@@ -1614,11 +1635,18 @@ WiredTiger Parameters
1614
1635
1615
1636
|mongod-only|
1616
1637
1638
+
1617
1639
Specify ``wiredTiger`` storage engine configuration options for a
1618
1640
running :binary:`~bin.mongod` instance. You can *only* set this
1619
1641
parameter using the :dbcommand:`setParameter` command and *not*
1620
1642
using the command line or configuration file option.
1621
1643
1644
+ .. warning::
1645
+
1646
+ Avoid modifying the :parameter:`wiredTigerEngineRuntimeConfig`
1647
+ unless under the direction from MongoDB engineers as this setting has
1648
+ major implication across both WiredTiger and MongoDB.
1649
+
1622
1650
Consider the following operation prototype:
1623
1651
1624
1652
.. code-block:: javascript
0 commit comments