All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeOutlineBinding

Last Updated:Apr 29, 2024

You can call this operation to query the outline binding information or throttling information of an SQL statement in the database based on an SQLID.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TenantIdstringYes

The ID of the tenant.

t2mr3oae0****
TableNamestringYes

The name of the tenant.
It must start with a letter or an underscore (), and contain 2 to 20 characters, which can be uppercase letters, lowercase letters, digits, and underscores (). It cannot be set to SYS.

pay_online
DatabaseNamestringYes

The name of the database.

testdb
SQLIdstringYes

SQLID.

8D6E84****0B8FB1823D199E2CA1****
IsConcurrentLimitbooleanNo
  • When the value is set to True, the throttling information in the database is queried based on the SQL ID.
  • When the value is set to False, the bound index or execution plan in the database is queried based on the SQL ID.
false
InstanceIdstringNo

The ID of the OceanBase cluster.

ob317v4uif****

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

OutlineBindingobject

The binding information.

BindPlanstring

The bound plan.

PHY_TABLE_SCAN | bmsql_order_line | 40 ******
OutlineIdlong

OutlineID.

-1
BindIndexstring

The bound index.

PRIMARY
MaxConcurrentinteger

The maximum number of concurrent tasks.

2
RequestIdstring

The request ID.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C

Examples

Sample success responses

JSONformat

{
  "OutlineBinding": {
    "BindPlan": "PHY_TABLE_SCAN | bmsql_order_line | 40 ******",
    "OutlineId": -1,
    "BindIndex": "PRIMARY",
    "MaxConcurrent": 2,
    "TableName": ""
  },
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C"
}

Error codes

HTTP status codeError codeError message
2014InternalErrorThe request processing has failed due to some unknown error.

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

Change history

Change timeSummary of changesOperation
2024-04-15The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 2014
2023-05-17The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 2014
Output ParametersThe response structure of the API has changed.