Modifying a Parameter Template
You can modify parameters in a custom parameter template to optimize GaussDB(for MySQL) database performance.
You can change parameter values in custom parameter templates only, but cannot change parameter values in default parameter templates.
The following are the key points you should know when using parameters:
- When you change a dynamic parameter value on the Parameters page and save the change, the change takes effect immediately regardless of the Effective upon Reboot setting. When you modify static parameters on the Parameters page of a target DB instance and save the modifications, the modifications take effect only after you manually reboot the target DB instance.
- When you change parameter values in parameter templates in batches on the Parameter Template Management page and save the changes, the changes will take effect only after you apply the parameter templates to DB instances. When you change static parameter values in a parameter template and save the change, the change will take effect only after you apply the parameter template to DB instances and manually reboot the DB instances. For details, see Applying a Parameter Template.
GaussDB(for MySQL) has default parameter templates whose parameter values cannot be changed. You can view these parameter values by clicking the default parameter templates. If a custom parameter template is set incorrectly and causes a database reboot to fail, you can re-configure the custom parameter template according to the configurations of the default parameter template.
Modifying Parameter Template Parameters
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click GaussDB.
- In the navigation pane on the left, choose Parameter Template Management. On the Custom Templates page, click the parameter template you want to view.
- Modify parameters as required.
Available operations are as follows:
Figure 1 Modifying parameters in a parameter template
- To save the modifications, click Save.
- To cancel the modifications, click Cancel.
- To preview the modifications, click Preview.
Figure 2 Previewing changes
- After the parameters are modified, you can click Change History to view the modification details.
The modifications take effect only after you apply the parameter template to DB instances. For details, see Applying a Parameter Template.
For details about the parameter template statuses, see DB Instance Statuses.
- After modifying some parameters of a DB instance, you need to reboot the DB instance for the modifications to take effect.
- After modifying some parameters of a read replica, you need to reboot the read replica for the modifications to take effect.
Modifying Instance Parameters
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click GaussDB.
- On the Instance Management page, click the target DB instance. The Basic Information page is displayed.
- In the navigation pane on the left, choose Parameters. On the displayed page, modify parameters as required.
Available operations are as follows:
After you modify instance parameters, the modifications immediately take effect for the DB instance.
For details about the parameter template statuses, see DB Instance Statuses.
Check the value in the Effective upon Reboot column.- If the value is Yes and the DB instance status on the Instance Management page is Pending reboot, you must reboot the DB instance for the modifications to take effect.
- If the value is No, the modifications take effect immediately.
- To save the modifications, click Save.
- To cancel the modifications, click Cancel.
- To preview the modifications, click Preview.
After parameters are modified, you can click Change History to view parameter modification details.
Last Article: Creating a Parameter Template
Next Article: Exporting a Parameter Template
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.