Help Center/ GaussDB/ User Guide/ Instance Modifications/ Changing the CPU and Memory Specifications of a GaussDB Instance
Updated on 2024-11-11 GMT+08:00

Changing the CPU and Memory Specifications of a GaussDB Instance

Scenarios

You can change the instance specifications (CPU and memory) as required. Once the change is complete, the status of an instance changes from Changing instance specifications to Available.

Precautions

  • You can scale up or down the CPU and memory specifications of your GaussDB instances as needed.
  • Before you change the instance specifications, ensure that the instance is available. If the instance or node is abnormal, or the storage space is full, you cannot perform this operation.
  • During the specification change for an HA (1 primary + 2 standby) instance, a primary/standby failover is triggered. During the failover, services are interrupted for about 1 minute.
  • For a single-replica instance, changing instance specifications will reboot the instance and interrupt services for 5 to 10 minutes.
  • After you change instance specifications, the DB instances will be rebooted and services will be interrupted. You are advised to perform this operation during off-peak hours.
  • If the instance load is heavy, it takes a longer time to change its instance specifications.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, locate the instance and choose More > Change Instance Specifications in the Operation column.

    Alternatively, click the instance name to go to the Basic Information page. In the Configuration area, click Change in the Instance Specifications field.

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

  6. Confirm the specifications and click Submit.
  7. View the new instance specifications.

    After the task is submitted, click Go to Instance List. On the Instances page, the DB instance status is Changing instance specifications. After a few minutes, view the new instance specifications on the Basic Information page.