All Products
Search
Document Center

AnalyticDB:DescribeMVRecommendResults

Last Updated:Nov 11, 2025

Retrieves the result of a recommendation task for a materialized view.

Operation description

For information about the endpoints of AnalyticDB for MySQL, see Endpoints .

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:DescribeMVRecommendResultsget
*DBClusterLakeVersion
acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SubtaskIdlongNo

The subtask ID.

123
TaskNamestringNo

The name of the recommendation task.

task_n1
PageNumberintegerNo

The page number.

1
PageSizeintegerNo

The number of entries to return per page.

30
DBClusterIdstringNo

The cluster ID.

am-bp1ub9grke1****
RegionIdstringNo

The region ID.

cn-hangzhou
FromstringNo

Fixed system value (non-modifiable).

ActionInnerstringNo

Fixed system value (non-modifiable).

OrderBystringNo

The sorting field.

{"Type": "Desc","Field": "AcceleratedQueriesCount"}

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

1AD222E9-E606-4A42-BF6D-8A4442913CEF
PageNumberlong

The page number.

1
PageSizelong

The number of entries returned per page.

30
TotalCountlong

The total number of entries returned.

20
Dataobject

The returned data.

PageNumberlong

The page number. Default value: 1.

1
PageSizelong

The number of entries returned per page. Valid values:

  • 30 (default).
  • 50.
  • 100.
20
TotalCountlong

The total number of entries.

1

Examples

Sample success responses

JSONformat

{
  "RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
  "PageNumber": 1,
  "PageSize": 30,
  "TotalCount": 20,
  "Data": {
    "PageNumber": 1,
    "PageSize": 20,
    "TotalCount": 1,
    "MvRecommendResultModels": [
      {
        "BaseTables": [
          {
            "TableName": "",
            "DataVolumn": "",
            "EnableBinlog": true,
            "SchemaName": ""
          }
        ],
        "AcceleratedQueriesCount": 0,
        "SupportIncrementalRefresh": true,
        "SubqueryId": 0,
        "SavedScanbytes": 0,
        "Subquery": ""
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400MDS.IllegalArgumentInvalid argument.An invalid parameter is used.
400MDS.InvalidPrivilegeNo permissions.You are not authorized to perform this operation.
400MDS.MetaSchemaAlreadyExistThe database already exists.The specified database already exists.
400MDS.MetaSchemaNotExistThe database does not exist.The specified database does not exist.
400MDS.MetaTableAlreadyExistThe table already exists.The specified table already exists.
400MDS.MetaTableNotExistThe table is not found.The specified table does not exist.
403MDS.RamAuthAccessDeniedram auth access denied.RAM authentication failed
500MDS.InternalErrorAn internal MDS error occurred.An internal error occurred.
500MDS.MetaVisitErrorFailed to access metadata.Failed to access the metadata.

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

Change history

Change timeSummary of changesOperation
2025-11-03Add OperationView Change Details