Updated on 2022-08-17 GMT+08:00

Changing Associated Parameter Group

Scenarios

After a DB instance is created, you can change the parameter group associated with the DB instance to achieve optimal performance. The parameter group associated with the DB instance cannot be changed in any of the following cases:

  • A DB instance is being restarted.
  • A backup file is being created.
  • Cluster instance nodes are being added.
  • The storage space is being expanded.
  • The instance class is being changed.
  • An SSL connection is being enabled or disabled.
  • The port is being changed.

Cluster

  1. Log in to the DDS console.
  2. On the Instance Management page, click the target cluster instance.
  3. In the Node Information area on the Basic Information page, click mongos, shard, or config, locate the target node, and click Change Parameter Group or choose More > Change Parameter Group.
  4. On the displayed dialog box, select the parameter group to be modified and click OK.

    • Changes to certain parameters take effect only after you restart the DB instance. Other changes take effect immediately.
    • If no parameter groups are available for New Parameter Group, create a parameter group. For details, see section Creating a Parameter Group.

Replica Set

  1. Log in to the DDS console.
  2. On the Instance Management page, locate the target replica set instance, and choose More > Change Parameter Group in the Operation column.
  3. On the displayed dialog box, select the parameter group to be modified and click OK.

    • Changes to certain parameters take effect only after you restart the DB instance. Other changes take effect immediately.
    • If no parameter groups are available for New Parameter Group, create a parameter group. For details, see section Creating a Parameter Group.