It is an online CLI tool that allows you to quickly retrieve and debug APIs. It can dynamically generate executable SDK code samples.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:DescribeRecommendIndex |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TenantId |
string |
Yes |
The index recommended for the SQL statement after calculation by the diagnostic system.
|
t2mr3oae0**** |
| InstanceId |
string |
Yes |
The return result of the request. |
ob317v4uif**** |
| SQLId |
string |
Yes |
The ID of the OceanBase cluster. |
8D6E84****0B8FB1823D199E2CA1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
You can obtain the SQL ID from the return value of the DescribeSlowSQLList or DescribeTopSQLList operation. |
||
| RequestId |
string |
The tenant mode. Valid values: |
EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C |
| RecommendIndex |
object |
The information about the recommended index. |
|
| SuggestIndex |
string |
Example 1 |
PRIMARY |
| TenantMode |
string |
Returns the tenant mode. Supported modes are:
|
mysql |
| TableList |
string |
Table information. |
testtable |
Examples
Success response
JSON format
{
"RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
"RecommendIndex": {
"SuggestIndex": "PRIMARY",
"TenantMode": "mysql",
"TableList": "testtable"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 2014 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.