doc-exports/docs/gaussdb_mysql/umn/gaussdb_08_0112.html
Ru, Li Yi f3715d9cc9 gaussdbmysql
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-09-06 12:45:25 +00:00

8.0 KiB

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. When you change parameter values in a custom parameter template, the changes take effect for all DB instances to which the parameter template applies.

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

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Databases, click GaussDB(for MySQL).
  4. In the navigation pane on the left, choose Parameter Templates. On the Custom Templates page, click the parameter template you want to view.
  5. Modify parameters as required.

    Available operations are as follows:

    After you modify parameters in a parameter template, some modifications immediately take effect for the DB instance to which the parameter template applies. Exercise caution when performing this operation.

    • To save the modifications, click Save.
    • To cancel the modifications, click Cancel.
    • To preview the modifications, click Preview.

  6. After the parameters have been 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.

    • 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

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Databases, click GaussDB(for MySQL).
  4. On the Instances page, click the target DB instance. The Basic Information page is displayed.
  5. In the navigation pane on the left, choose Parameters. On the displayed page, modify parameters as required.

    Available operations are as follows:

    Check the value in the Effective upon Reboot column.
    • If the value is Yes and the DB instance status on the Instances page is Pending reboot, you must reboot the DB instance for the modifications of this parameter to take effect.
    • If the value is No, the modification of this parameter takes 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.