Percona Server for MongoDB parameter tuning guide¶
Percona Server for MongoDB includes several parameters that can be changed in one of the following ways:
Use the setParameter
admonitions in the configuration file
for persistent changes in production:
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> } )
See what parameters you can define in the parameters list.