All Products
Search
Document Center

AnalyticDB:DescribeDBClusterPerformance

Last Updated:Sep 04, 2026

Queries the performance data of a specified cluster.

Operation description

For the endpoint of this service, see Endpoint.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

adb:DescribeDBClusterPerformance

list

*DBClusterLakeVersion

acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}

None None

Request parameters

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

The ID of the Data Lakehouse Edition cluster.

Note

You can call the DescribeDBClusters operation to query the IDs of all clusters in a specified region.

amv-bp1hx5n1o8f61****

Key

string

No

The name of the performance metric (metric key) to query. Separate multiple values with commas (,). For more information about supported metrics, see Monitoring metrics overview.

AnalyticDB_CPU_Usage_Percentage

StartTime

string

No

The start time of the query. Specify the time in UTC in the format of yyyy-MM-ddTHH:mmZ.

2022-03-10T23:56Z

EndTime

string

No

The end time of the query. Specify the time in UTC in the format of yyyy-MM-ddTHH:mmZ.

Note

The end time must be later than the start time, and the interval between the start time and end time cannot exceed two days.

2022-03-11T15:01Z

RegionId

string

Yes

The region ID.

Note

You can call the DescribeRegions operation to query the regions and zones supported by AnalyticDB for MySQL, including region IDs.

cn-hangzhou

ResourcePools

string

No

The resource group.

user_default

Response elements

Element

Type

Description

Example

object

EndTime

string

The end time of the query. The time is in UTC in the format of yyyy-MM-ddTHH:mmZ.

2022-03-11T15:01Z

RequestId

string

The request ID.

BD8C3096-8BC6-51DF-A4AB-BACD9DC10435

StartTime

string

The start time of the query. Specify the time in UTC in the format of yyyy-MM-ddTHH:mmZ.

2022-03-10T23:56Z

DBClusterId

string

The cluster ID.

Note

You can call the DescribeDBClusters operation to query the IDs of all clusters in a specified region.

amv-bp1hx5n1o8f61****

Performances

array<object>

The list of cluster performance metrics.

array<object>

The list.

Key

string

The name of the performance metric.

AnalyticDB_CPU_Usage_Percentage

Unit

string

The unit of the monitoring metric.

%

Series

array<object>

The list of performance data.

object

The list.

Values

array

The performance values at different points in time.

string

The performance values at different points in time.

[ [ "2023-06-27T13:21:00+08:00","0.1250" ], [ "2022-03-11T10:00:42.739Z","0.3125" ]... ]

Name

string

The name of the performance metric (monitoring metric value name). For more information, see Monitoring metrics overview.

AnalyticDB_Storage_CPU_Avg_Usage_Percentage

Tags

string

The tag value.

{instance_name: "am-***"}

TranslateKey

string

The key used for internationalization translation. You can ignore this parameter in most cases.

AnalyticDB_RP_WaitTime

Examples

Success response

JSON format

{
  "EndTime": "2022-03-11T15:01Z",
  "RequestId": "BD8C3096-8BC6-51DF-A4AB-BACD9DC10435",
  "StartTime": "2022-03-10T23:56Z",
  "DBClusterId": "amv-bp1hx5n1o8f61****",
  "Performances": [
    {
      "Key": "AnalyticDB_CPU_Usage_Percentage",
      "Unit": "%",
      "Series": [
        {
          "Values": [
            "[\n  [ \n  \"2023-06-27T13:21:00+08:00\",\"0.1250\" \n  ], \n  [ \n  \"2022-03-11T10:00:42.739Z\",\"0.3125\" \n  ]...\n]"
          ],
          "Name": "AnalyticDB_Storage_CPU_Avg_Usage_Percentage",
          "Tags": "\n{instance_name: \"am-***\"}",
          "TranslateKey": "AnalyticDB_RP_WaitTime"
        }
      ]
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 IdempotentParameterMismatch The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.