Modifying a Parameter Template
To optimize GaussDB(for MySQL) database performance, you can change parameters in a custom parameter template and then apply the updated template to your instances.
You can change parameters in custom parameter templates, but cannot change parameters in default parameter templates.
The following are the key points you should know when using parameter templates:
- To change the parameters in a parameter template of the current instance, go to the Parameters page, change parameter values and save the changes. Dynamic parameter changes take effect immediately, but static parameter changes take effect only after you manually reboot the instance. This changes will apply only to the current instance. They will not affect other instances.
- To change the parameters in a parameter template, go to the Parameter Templates page and under Custom Templates tab, click the template name, change its parameter values and save the changes. Then, apply the changed parameter template to instances. Dynamic parameter changes take effect immediately, but static parameter changes take effect only after you manually reboot the instances.
GaussDB(for MySQL) has default parameter templates whose parameters cannot be changed. You can view these parameters by clicking the default parameter templates. If a custom parameter template is configured incorrectly and applied into instances, the instances may be unable to be rebooted. If this happens, you can refer to the settings used by a 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 in the upper left corner of the page, choose .
- In the navigation pane on the left, choose Parameter Templates. On the Custom Templates page, click the parameter template you want to change.
- Change parameters as needed.
You can save, cancel, or preview your changes.
After the value of the parameter log-bin is modified, the value of the database kernel parameter log-bin changes accordingly.
Figure 1 Changing parameters in a parameter template
- To save your changes, click Save.
- To cancel your changes, click Cancel.
- To preview your changes, click Preview.
Figure 2 Previewing changes
- After the parameters are changed, click Change History to view what changes have been made.
Modifying Instance Parameters
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click in the upper left corner of the page, choose .
- On the Instances page, click the instance name to go to the Basic Information page.
- In the navigation pane on the left, choose Parameters. On the displayed page, change parameters if needed.
You can save, cancel, or preview your changes.
After you change instance parameters, check the value in the Effective upon Reboot column.- If Yes is displayed and the instance status on the Instances page is Parameter change. Pending reboot, you must reboot the instance for the changes to take effect.
- If No is displayed, the changes take effect immediately for the current instance.
- To save your changes, click Save.
- To cancel your changes, click Cancel.
- To preview your changes, click Preview.
After parameters are changed, you can click Change History to view what changes have been made.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.