Help Center> GaussDB> User Guide> Instance Modifications> Changing CPU and Memory Specifications
Updated on 2024-05-14 GMT+08:00

Changing CPU and Memory Specifications

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.
  • The specifications of read replicas can be changed only for primary/standby (1 primary + 2 standby) instances of version 2.7.1 or later.
  • 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.

Changing Instance Specifications

  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 DB Information 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.

Changing the Specifications of Read Replicas

  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, click the name of the target instance to go to the Basic Information page.
  5. In the DB Information area, click Change in the Read Replicas field.
  6. On the displayed page, select the target read replica and new instance specifications, and click Next.
  7. Confirm the specifications and click Submit.
  8. View the specification change result.

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