doc-exports/docs/gaussdb_mysql/umn/gaussdb_03_0092.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

7.0 KiB
Raw Blame History

Changing vCPUs and Memory of an Instance

Scenarios

You can change the vCPUs or memory of a DB instance as required. If the status of a DB instance changes from Changing instance specifications to Available, the change is successful.

  • An instance cannot be deleted when its specifications are being changed.
  • The vCPUs and memory can be changed only at the instance level. The specifications of the primary node or read replicas cannot be changed separately for a given instance.
  • Changing the CPU and memory specifications will cause the instance to reboot. To prevent service interruptions, change the instance specifications during off-peak hours.
  • To prevent traffic congestion during peak hours, you are advised to reboot the DB instance during off-peak hours.

Procedure

  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. You can change the instance specifications in either of the following ways:

    • On the Instances page, locate the target DB instance and choose More > Change Instance Specifications in the Operation column.
    • Click the target DB instance to go to the Basic Information page. In the DB Instance Information area, click Change in the Instance Specifications field.

  5. On the displayed page, specify the new instance specifications, and click Next.
  6. On the displayed page, confirm the instance specifications.

    • If you need to modify your settings, click Previous to go back to the page where you specify details.
    • If you do not need to modify your settings, click Submit.

  7. View the DB instance specification change result.

    Changing the instance specifications takes 515 minutes. During this period, the status of the instance on the Instances page is Changing instance specifications. After a few minutes, you can click the instance name to view the new instance specifications on the displayed Basic Information page.

    After the specifications of DB instances 8.0 are changed, the system will change the values of the following parameters accordingly: innodb_buffer_pool_size, innodb_log_buffer_size, max_connections, innodb_buffer_pool_instances, innodb_page_cleaners, innodb_parallel_read_threads, innodb_read_io_threads, innodb_write_io_threads, threadpool_size and query_cache_size.