Skip to content

Percona Server for MongoDB Parameter Tuning Guide

Percona Server for MongoDB includes several parameters that can be changed in one of the following ways:

=== Configuration file”

 Use the `setParameter` admonitions in the configuration file
 for persistent changes in production:

 ```yaml
 setParameter:
   <parameter>: <value>
 ```

Use the --setParameter command line option arguments when running the mongod process for development or testing purposes:

$ mongod \
 --setParameter <parameter>=<value>

Use the setParameter command on the admin database to make changes at runtime:

> db = db.getSiblingDB('admin')
> db.runCommand( { setParameter: 1, <parameter>: <value> } )

Parameters

See what parameters you can define in the parameters list.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.