All Products
Search
Document Center

ApsaraDB for OceanBase:List of operations by function

更新時間:Nov 22, 2024
This product(OceanBasePro/2019-09-01) OpenAPI adopts RPC Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (78410016550) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Tag Management

APITitleDescription
ModifyTagValueNameModifyTagValueNameYou can call this operation to rename a tag.
ModifyTagNameModifyTagName
DescribeTagValuesDescribeTagValuesYou can call this operation to query tags.
DeleteTagValueDeleteTagValueYou can call this operation to delete a tag from a tag group.
DeleteTagDeleteTagYou can call this operation to delete a tag group.
CreateTagValueCreateTagValueYou can call this operation to create a tag.
CreateTagCreateTagYou can call this operation to create a tag group.
ModifyInstanceTagsModifyInstanceTagsYou can call this operation to modify the tags of a cluster.
DescribeTenantTagsDescribeTenantTagsYou can call this operation to query the tags of tenants in a cluster.
ModifyTenantTagsModifyTenantTagsYou can call this operation to modify the tags of a tenant.
DescribeInstanceTagsDescribeInstanceTagsYou can call this operation to query the tags of clusters.

Cluster management

APITitleDescription
CreateInstanceCreateInstanceYou can call this operation to create an OceanBase cluster.
DescribeInstanceDescribeInstanceYou can call this operation to query the detailed information of an OceanBase cluster.
DescribeInstancesDescribeInstancesYou can call this operation to obtain the list of OceanBase clusters.
DescribeInstanceTopologyDescribeInstanceTopologyYou can call this operation to query the topology of an OceanBase cluster.
ModifyInstanceNameModifyInstanceNameYou can call this operation to change the name of an OceanBase cluster.
ModifyInstanceSpecModifyInstanceSpecYou can call this operation to modify the cluster specifications and storage space.
ModifyInstanceNodeNumModifyInstanceNodeNumYou can call this operation to modify the number of nodes in a cluster.
ModifyInstanceTemporaryCapacityModifyInstanceTemporaryCapacityYou can call this operation to modify the temporary capacity of the OceanBase cluster.
SwitchoverInstanceSwitchoverInstanceYou can call this operation to switch between the primary and standby instances of OceanBase.
DeleteInstancesDeleteInstancesYou can call this operation to release an OceanBase cluster.

Tenant management

APITitleDescription
DescribeTenantReadableScnDescribeTenantReadableScnYou can call this operation to query the maximum readable timestamp of a tenant.
CreateTenantCreateTenantYou can call this operation to create a tenant.
CreateTenantReadOnlyConnectionCreateTenantReadOnlyConnectionYou can call this operation to create a read-only address for a specified tenant.
CreateTenantSecurityIpGroupCreateTenantSecurityIpGroupYou can call this operation to create the security whitelist for the tenant.
DescribeTenantsDescribeTenantsYou can call this operation to query the tenants in an OceanBase cluster.
DescribeInstanceTenantModesDescribeInstanceTenantModesYou can call this operation to query the modes of tenants.
DescribeTenantDescribeTenantYou can call this operation to query the information of a specific tenant in a specific cluster.
DescribeAvailableCpuResourceDescribeAvailableCpuResourceYou can call this operation to query the CPU resources available for a tenant.
DescribeAvailableMemResourceDescribeAvailableMemResourceYou can call this operation to query the available memory resource of an OceanBase Database tenant.
DescribeCharsetDescribeCharsetYou can call this operation to query the character set of an OceanBase Database tenant.
DescribeInstanceCreatableZoneDescribeInstanceCreatableZoneYou can call this operation to query the zones of a cluster that can be set as the primary zone.
DescribeTenantZonesReadDescribeTenantZonesReadYou can call this operation to query the information about read-only zones of a tenant.
DescribeTimeZonesDescribeTimeZonesYou can call this API to query the time zones supported by an OceanBase Database tenant.
DescribeTenantSecurityIpGroupsDescribeTenantSecurityIpGroupsYou can call this operation to view the list of whitelist groups of the tenant.
DescribeZonesDescribeZonesYou can call this operation to learn of zones where a cluster can be created in an Alibaba Cloud region.
ModifyTenantPrimaryZoneModifyTenantPrimaryZoneYou can call this operation to switch the primary zone of the tenant.
ModifyTenantResourceModifyTenantResourceYou can call this operation to modify the specifications of a tenant in an OceanBase cluster.
ModifyTenantSecurityIpGroupModifyTenantSecurityIpGroupYou can call this operation to modify the information on the whitelist group of the tenant.
DeleteTenantsDeleteTenantsYou can call this operation to delete one or more tenants from an OceanBase cluster.
DeleteTenantSecurityIpGroupDeleteTenantSecurityIpGroupYou can call this operation to delete the information on the whitelist group of the tenant.

Tenant user management

APITitleDescription
CreateTenantUserCreateTenantUserYou can call this operation to create an account in a tenant that has access to a database.
DescribeTenantUsersDescribeTenantUsersYou can call this operation to query all accounts in a tenant that have access to the database.
DescribeTenantUserRolesDescribeTenantUserRolesYou can call this operation to obtain the account authorization information of the tenant.
ModifyTenantUserDescriptionModifyTenantUserDescriptionYou can call this operation to modify the description of a specified account in a tenant.
ModifyTenantUserPasswordModifyTenantUserPasswordYou can call this operation to change the logon password of a specified account in a tenant.
ModifyTenantUserRolesModifyTenantUserRolesYou can call this operation to modify the database privileges of a specified account in a tenant.
DeleteTenantUsersDeleteTenantUsersYou can call this operation to delete one or more database accounts.

Database management

APITitleDescription
CreateDatabaseCreateDatabaseYou can call this operation to create a database in a tenant.
DescribeDatabasesDescribeDatabasesYou can call this operation to query databases in a tenant.
ModifyDatabaseDescriptionModifyDatabaseDescriptionYou can call this operation to modify the description of an OceanBase database.
ModifyTenantUserStatusModifyTenantUserStatusYou can call this operation to lock or unlock a specified database account.
ModifyDatabaseUserRolesModifyDatabaseUserRolesYou can call this operation to modify the privileges of an account on a database.
DeleteDatabasesDeleteDatabasesYou can call this operation to delete one or more tenants from an OceanBase cluster.

Parameter management

APITitleDescription
DescribeParameters DescribeParametersYou can call this operation to query the information of cluster or tenant parameters.
DescribeParametersHistory DescribeParametersHistoryYou can call this operation to query the modification history of cluster or tenant parameters.
ModifyParametersModifyParametersYou can call this operation to modify the parameters of a cluster or tenant.

Session management

APITitleDescription
DescribeSessionListDescribeSessionListYou can call this operation to query sessions between the ApsaraDB for OceanBase and the application.
BatchKillSessionListBatchKillSessionListYou can call this operation to close sessions between the ApsaraDB for OceanBase and the application in batches. Please note that this operation is executed asynchronously. After calling this operation, you need to verify it by calling DescribeSessionList.
BatchKillProcessListBatchKillProcessListYou can call this operation to close sessions in batches. Please note that this operation is executed asynchronously. After calling this operation, you need to verify it by calling DescribeProcessStatsComposition.
DescribeProcessStatsCompositionDescribeProcessStatsCompositionYou can call this operation to query session information.
KillProcessListKillProcessListYou can call this operation to close a session.

Diagnostic management

APITitleDescription
DescribeOasAnomalySQLListDescribeOasAnomalySQLListYou can call this API to view the list of SQL statements that are identified as having performance issues by the diagnostic system.
DescribeOasSQLDetailsDescribeOasSQLDetailsYou can call this API to query detailed information about the SQL, including the SQL text, related table names, and so on.
DescribeOasSQLPlansDescribeOasSQLPlansYou can call this API to retrieve information about the SQL execution plan stored in the diagnostic system based on the SQL ID.
DescribeSQLSamplesDescribeSQLSamplesYou can call this API to view the sample data of the execution details of the slow queries.
DescribeOasSQLHistoryListDescribeOasSQLHistoryListYou can call this API to view the SQL execution history.
DescribeOasTopSQLListDescribeOasTopSQLListYou can call this API to retrieve the list of data on the SQL execution performance collected by the diagnostic system.
DescribeOasSlowSQLListDescribeOasSlowSQLListYou can call this API to view a list of slow queries.
DescribeOutlineBindingDescribeOutlineBindingYou can call this operation to query the outline binding information or throttling information of an SQL statement in the database based on an SQLID.

Security settings

APITitleDescription
ModifyInstanceSSLModifyInstanceSSLYou can call this operation to modify the Secure Sockets Layer (SSL) setting for an OceanBase cluster instance.
CreateSecurityIpGroupCreateSecurityIpGroupYou can call this operation to create an IP address whitelist group.
DescribeSecurityIpGroupsDescribeSecurityIpGroupsYou can call this operation to view the list of IP address whitelist groups.
DescribeTenantSecurityConfigsDescribeTenantSecurityConfigsYou can call this operation to query security check items of an OceanBase Database tenant.
DescribeInstanceSecurityConfigsDescribeInstanceSecurityConfigsYou can call this operation to query security check items of an OceanBase cluster.
ModifySecurityIpsModifySecurityIpsYou can call this operation to modify the IP address list in a group.
DeleteSecurityIpGroup DeleteSecurityIpGroupYou can call this operation to delete an IP address whitelist group of an OceanBase cluster.

Metrics management

APITitleDescription
DescribeNodeMetricsDescribeNodeMetricsYou can call this operation to query the detailed metrics information of an OceanBase Database node.
DescribeTenantMetricsDescribeTenantMetricsYou can call this operation to query the metrics of a specified OceanBase Database tenant.

Data migration

APITitleDescription
CreateOmsMysqlDataSource You can call this operation to create a MySQL data source.

Backup and restoration management

APITitleDescription
DescribeBackupSetDownloadLinkDescribeBackupSetDownloadLinkYou can call this operation to query the link for downloading a backup set of OceanBase Database.
DescribeRestorableTenantsDescribeRestorableTenantsQueries information about restorable OceanBase Database tenants.