All Products
Search
Document Center

AnalyticDB for PostgreSQL:Configure instance resources

Last Updated:Jan 31, 2024

AnalyticDB for PostgreSQL instances in Serverless automatic scheduling mode can be automatically paused and resumed based on traffic detection. You can configure the Computing Resource Threshold and Wait Time for Idle Resource Release parameters for an AnalyticDB for PostgreSQL instance in Serverless automatic scheduling mode. If no traffic is detected for a specific period of time, the instance status automatically changes to Idle. You are not charged for computing resources when the instance is in the idle state. This reduces costs.

Prerequisites

An AnalyticDB for PostgreSQL instance in Serverless automatic scheduling mode is created.

Procedure

  1. Log on to the AnalyticDB for PostgreSQL console.
  2. In the upper-left corner of the console, select a region.
  3. Find the instance that you want to manage and click Change Configuration in the Actions column.

  4. On the Instance Resource Configuration page, click Edit.

  5. Configure the Computing Resource Threshold and Wait Time for Idle Resource Release parameters, and then click OK.

    • Computing Resource Threshold: the maximum amount of computing resources that can be allocated to the instance. Valid values: 8 to 32. Unit: AnalyticDB compute units (ACUs). This value must be in 8 increments.

    • Wait Time for Idle Resource Release: If no traffic is detected for a specific period of time, the instance status changes to Idle. Minimum value: 60. Unit: seconds.

  6. In the message that appears, click OK.

    Note

    The change to the resource configuration takes effect in 2 minutes.

Related operations

Operation

Description

ModifyDBInstanceConfig

Changes the threshold of computing resources and the wait period of idle resources for an AnalyticDB for PostgreSQL instance in Serverless automatic scheduling mode.

References

  • For more information about AnalyticDB for PostgreSQL in Serverless mode, see Serverless mode.

  • If your instance is in elastic storage mode or Serverless manual scheduling mode, you can manually pause and resume the instance. For more information, see Manually pause and resume an instance.