Returns the storage overview of an AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster, including total data size, hot data size, cold data size, and data growth.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBClusterSpaceSummary |
get |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. Note
You can call the DescribeDBClusters operation to query the cluster IDs of all AnalyticDB for MySQL Data Warehouse Edition (V3.0) clusters within a region. |
am-bp1u8c0mgfg58**** |
| RegionId |
string |
Yes |
The region ID of the cluster. Note
You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
25B56BC7-4978-40B3-9E48-4B7067****** |
| Data |
object |
The storage overview information. |
|
| TotalSize |
string |
The total data size. Unit: bytes. Note
Formula: Total data size = Hot data size + Cold data size. |
8388608 |
| HotData |
object |
The hot data information. |
|
| TotalSize |
integer |
The hot data size. Unit: bytes. Note
Formula: Hot data size = Data size of table records + Data size of regular indexes + Data size of primary key indexes + Other data size. |
4194304 |
| DataSize |
integer |
The data size of table records. Unit: bytes. |
1048576 |
| IndexSize |
integer |
The data size of regular indexes. Unit: bytes. |
1048576 |
| PrimaryKeyIndexSize |
integer |
The data size of primary key indexes. Unit: bytes. |
1048576 |
| OtherSize |
integer |
The other data size. Unit: bytes. |
1048576 |
| ColdData |
object |
The cold data information. |
|
| TotalSize |
integer |
The cold data size. Unit: bytes. Note
Formula: Cold data size = Data size of table records + Data size of regular indexes + Data size of primary key indexes + Other data size. |
4194304 |
| DataSize |
integer |
The data size of table records. Unit: bytes. |
1048576 |
| IndexSize |
integer |
The data size of regular indexes. Unit: bytes. |
1048576 |
| PrimaryKeyIndexSize |
integer |
The data size of primary key indexes. Unit: bytes. |
1048576 |
| OtherSize |
integer |
The other data size. Unit: bytes. |
1048576 |
| DataGrowth |
object |
The data growth information. |
|
| DayGrowth |
integer |
The data growth over the last day. Unit: bytes. Note
Formula: Data growth over the last day = Current data size - Data size of one day ago. |
1048576 |
| WeekGrowth |
integer |
The average daily data growth over the last seven days. Unit: bytes. Note
Formula: Average daily data growth over the last seven days = (Current data size - Data size of seven days ago)/7. |
1048576 |
Examples
Success response
JSON format
{
"RequestId": "25B56BC7-4978-40B3-9E48-4B7067******",
"Data": {
"TotalSize": "8388608",
"HotData": {
"TotalSize": 4194304,
"DataSize": 1048576,
"IndexSize": 1048576,
"PrimaryKeyIndexSize": 1048576,
"OtherSize": 1048576
},
"ColdData": {
"TotalSize": 4194304,
"DataSize": 1048576,
"IndexSize": 1048576,
"PrimaryKeyIndexSize": 1048576,
"OtherSize": 1048576
},
"DataGrowth": {
"DayGrowth": 1048576,
"WeekGrowth": 1048576
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.