You can call this operation to query the available memory resource of an OceanBase Database tenant.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the OceanBase cluster. | ob317v4uif**** |
TenantId | string | No | The ID of the tenant. | ob2mr3oae0**** |
UnitNum | long | Yes | The number of resource distribution nodes in the tenant. | 2 |
CpuNum | long | Yes | The number of CPU cores. | 14 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
"Data": {
"MinMem": 5,
"MaxMem": 10,
"UsedMem": 2,
"SafeMem": "10.0"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||
---|---|---|---|---|
2023-10-30 | The response structure of the API has changed | see changesets | ||
| ||||
2021-08-19 | Add Operation | see changesets |