All Products
Search
Document Center

AnalyticDB:DescribeViewJobs

Last Updated:Nov 11, 2025

Retrieves materialized view refresh tasks.

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

Request parameters

ParameterTypeRequiredDescriptionExample
SchemaNamestringNo

The database name.

demo_db
OrderBystringNo

The field used for sorting. Valid values for Type:

  • Asc.
  • Desc.

Valid values for Field:

  • StartTime.
  • EndTime;
  • ScheduledStartTime;
{\"Field\":\"StartTime\",\"Type\":\"Desc\"}
FilterViewNamestringNo

The name of the view.

test_mv
FilterViewTypestringNo

The type of the view.

Valid values:

-VIRTUAL_VIEW

-MATERIALIZED_VIEW

This parameter is empty by default.

MATERIALIZED_VIEW
FilterOwnerstringNo

The owner of the view.

admin
PageNumberintegerNo

The page number.

1
PageSizeintegerNo

The number of entries to return on each page.

30
DBClusterIdstringNo

The cluster ID.

am-bp1ub9grke1****
RegionIdstringNo

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

2A318054-6815-528A-AA94-8AC921******
PageNumberlong

The page number.

1
PageSizelong

The number of entries returned per page.

30
TotalCountlong

The total number of entries that are returned.

44
Dataobject

The returned data.

PageNumberlong

The page number.

1
PageSizelong

The number of entries returned on each page.

30
TotalCountlong

The total number of entries that are returned.

44
MvRefreshJobModelsarray

The refresh tasks.

dataObjectopen_struct_RefreshJobModel

Refresh task details.

Examples

Sample success responses

JSONformat

{
  "RequestId": "2A318054-6815-528A-AA94-8AC921******",
  "PageNumber": 1,
  "PageSize": 30,
  "TotalCount": 44,
  "Data": {
    "PageNumber": 1,
    "PageSize": 30,
    "TotalCount": 44,
    "MvRefreshJobModels": [
      {
        "Status": "",
        "EndTime": "",
        "RefreshModel": "",
        "StartTime": "",
        "RefreshInterval": "",
        "Processid": "",
        "ScheduledStartTime": "",
        "SchemaName": "",
        "ResourceGroup": "",
        "Name": ""
      }
    ]
  }
}

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-04Add OperationView Change Details