Skip to content
logo
Percona Server for MongoDB 6.0
Tune parameters
Initializing search
    percona/psmdb-docs
    percona/psmdb-docs
    • Home
    • Percona Server for MongoDB feature comparison
      • System requirements
      • Install Percona Server for MongoDB on Debian and Ubuntu
      • Install Percona Server for MongoDB on Red Hat Enterprise Linux and derivatives
      • Install Percona Server for MongoDB from binary tarball
      • Build from source code
      • Run Percona Server for MongoDB in a Docker container
        • Percona Memory Engine
        • Hot Backup
        • $backupCursor and $backupCursorExtend aggregation stages
        • Authentication overview
        • Enable SCRAM authentication
        • Set up LDAP authentication with SASL
        • Set up x.509 authentication and LDAP authorization
        • Setting up Kerberos authentication
        • AWS IAM authentication
        • Setting up AWS IAM authentication
        • LDAP authorization
        • Set up LDAP authentication and authorization using NativeLDAP
        • Data at rest encryption
        • HashiCorp Vault integration
        • Using the Key Management Interoperability Protocol (KMIP)
        • Local key management using a keyfile
        • Migrate from key file encryption to HashiCorp Vault encryption
      • Auditing
      • Profiling rate limit
      • Log redaction
      • Additional text search algorithm - ngram
      • Tune parameters
        • Parameters
        • Upgrade from 5.0 to 6.0
        • Upgrade Percona Server for MongoDB
      • Uninstall Percona Server for MongoDB
      • Release notes index
      • Percona Server for MongoDB 6.0.9-7 (2023-09-14)
      • Percona Server for MongoDB 6.0.8-6 (2023-08-08)
      • Percona Server for MongoDB 6.0.6-5 (2023-05-25)
      • Percona Server for MongoDB 6.0.5-4 (2023-03-29)
      • Percona Server for MongoDB 6.0.4-3 (2023-01-30)
      • Percona Server for MongoDB 6.0.3-2 (2022-12-07)
      • Percona Server for MongoDB 6.0.2-1 (2022-10-31)
    • Glossary
    • Copyright and licensing information
    • Trademark policy

    • Parameters

    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> } )
    

    Parameters¶

    See what parameters you can define in the parameters list.

    52c6822… PSMDB-1314 Simplified the Set Parameter guide

    Contact Us

    For free technical help, visit the Percona Community Forum.

    To report bugs or submit feature requests, open a JIRA ticket.

    For paid support and managed or consulting services , contact Percona Sales.


    Last update: September 13, 2023
    Created: December 7, 2022
    Percona LLC and/or its affiliates, © 2023
    Made with Material for MkDocs

    Cookie consent

    We use cookies to personalize content and ads, to provide social media features, and to analyze our traffic. Percona Privacy Policy. Learn more about Percona Cookie Policy.