Navigation

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:

db.adminCommand( { setParameter: 1, <parameter>: <value> } )

For the available parameters, including examples, see MongoDB Server Parameters.