Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

setParameter

setParameter

setParameter is an administrative command for modifying options normally set on the command line. You must issue the setParameter command against the admin database in the form:

{ setParameter: 1, <option>: <value> }

Replace the <option> with one of the supported setParameter options:

Indexing

Logging

Replication

Security

Sharding

Storage

←   reIndex getParameter  →