All Products
Search
Document Center

AnalyticDB:DescribeExecutorDetection

Last Updated:Nov 10, 2025

Queries the diagnostic results of the compute layer.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
adb:DescribeExecutorDetectionget
DBCluster
acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringYes

The cluster ID.

Note You can call the DescribeDBClusters operation to query the information about all AnalyticDB for MySQL clusters within a region, including cluster IDs.
am-xxx
RegionIdstringYes

The region ID.

Note You can call the DescribeRegions operation to query the most recent region list.
cn-shenzhen
StartTimestringYes

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.

2024-10-31T02:06Z
EndTimestringYes

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.

2021-05-27T16:00Z
LangstringNo

The language. Valid values:

  • zh: simplified Chinese.
  • en: English.
zh

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

TotalCountstring

The total number of entries returned.

566
RequestIdstring

The request ID.

9DFF5F54-162B-5860-80A5-411FF550B347
DBClusterIdstring

The ID of the AnalyticDB for MySQL Data Warehouse Edition cluster.

am-xxx
DetectionItemsarray<object>

The queried detection items and detection results.

BaseDetectionItemobject

The queried detection item and detection result.

Namestring

The name of the detection item.

Metric detection
Resultsobject

The detection result items.

OperatorDetailsarray<object>

The detection result items of abnormal operators.

BadOperatorDetailsobject

The detection result items of abnormal operators.

MetricNamestring

The name of the detection metric.

PeakMemory
SearchResultsarray<object>

The detection result items of abnormal operators.

resultListobject

The detection result items of abnormal operators.

ProcessIdstring

The query ID.

2024080110010002102500023803151627972
StageIdstring

The stage ID.

Stage[3]
OperatorNamestring

The name of the operator.

Join
PeakMemorylong

The peak memory. Unit: bytes.

234
OperatorCostdouble

The total CPU time consumed by all operators in the stage, which is equivalent to the total CPU time of the stage. You can use this parameter to determine which parts of the stage consume a large amount of computing resources. Unit: milliseconds.

123
InputRowslong

The number of rows input by the operator.

123
OutputRowslong

The number of rows output by the operator.

2345
InputSizelong

The amount of data input by the operator. Unit: bytes.

345
OutputSizelong

The amount of data output by the operator. Unit: bytes.

234
OperatorInfostring

The property information about the operator.

GROUP BY field: uid
OperatorAggarray<object>

The detection result items of operator metric aggregation.

BadOperatorAggobject

The detection result items of operator metric aggregation.

MetricNamestring

The name of the detection metric.

OperatorCost
SearchResultsarray<object>

The detection result items of operator metric aggregation.

resultListobject

The detection result items of operator metric aggregation.

OperatorNamestring

The name of the operator.

Window
MaxValuelong

The maximum value of the operator metric.

2345
TotalValuelong

The cumulative value of the operator metric.

345
AvgValuedouble

The average value of the operator metric.

234
OperatorCountlong

The number of occurrences of the operator.

3
Messagestring

The information about the detection result.

Large amounts of memory resources are used by the Aggregation operator.
Statusstring

The severity level of the detection result. Valid values:

  • NORMAL
  • WARNING
  • CRITICAL
WARNING

Examples

Sample success responses

JSONformat

{
  "TotalCount": 566,
  "RequestId": "9DFF5F54-162B-5860-80A5-411FF550B347",
  "DBClusterId": "am-xxx",
  "DetectionItems": [
    {
      "Name": "Metric detection",
      "Results": {
        "OperatorDetails": [
          {
            "MetricName": "PeakMemory",
            "SearchResults": [
              {
                "ProcessId": 2.024080110010002e+36,
                "StageId": "Stage[3]",
                "OperatorName": "Join",
                "PeakMemory": 234,
                "OperatorCost": 123,
                "InputRows": 123,
                "OutputRows": 2345,
                "InputSize": 345,
                "OutputSize": 234,
                "OperatorInfo": "GROUP BY field: uid"
              }
            ]
          }
        ],
        "OperatorAgg": [
          {
            "MetricName": "OperatorCost",
            "SearchResults": [
              {
                "OperatorName": "Window",
                "MaxValue": 2345,
                "TotalValue": 345,
                "AvgValue": 234,
                "OperatorCount": 3
              }
            ]
          }
        ]
      },
      "Message": "Large amounts of memory resources are used by the Aggregation operator.",
      "Status": "WARNING"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidDBCluster.NotFoundThe DBClusterId provided does not exist in our records.The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid.

For a list of error codes, visit the Service error codes.