Mengkueri informasi gambaran umum penyimpanan dari sebuah klaster AnalyticDB for MySQL, seperti total ukuran data, ukuran data panas, ukuran data dingin, dan pertumbuhan data.
Deskripsi operasi
Untuk informasi tentang endpoint AnalyticDB for MySQL, lihat Endpoints.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBClusterSpaceSummary |
get |
DBCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID dari klaster AnalyticDB for MySQL Data Lakehouse Edition. |
amv-wz9v5sa7mm79z4l2 |
| RegionId |
string |
Yes |
ID region. Catatan
Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar region terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| Data |
object |
Informasi gambaran umum penyimpanan yang dikueri. |
|
| TotalSize |
string |
Total ukuran data. Satuan: byte. Catatan
Rumus: Total ukuran data = Ukuran data panas + Ukuran data dingin. |
8388608 |
| HotData |
object |
Data panas. |
|
| TotalSize |
integer |
The hot data size. Unit: bytes. Catatan
Formula: Hot data size = Data size of table records + Data size of regular indexes + Data size of primary key indexes + Data size of other data. |
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 data size of other data. Unit: bytes. |
1048576 |
| ColdData |
object |
Data dingin. |
|
| TotalSize |
integer |
The cold data size. Unit: bytes. Catatan
Formula: Cold data size = Data size of table records + Data size of regular indexes + Data size of primary key indexes + Data size of other data. |
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 data size of other data. Unit: bytes. |
1048576 |
| DataGrowth |
object |
Pertumbuhan data. |
|
| DayGrowth |
integer |
The data growth within the last day. Unit: bytes. Catatan
Formula: Data growth within the last day = Current data size - Data size one day ago. |
1048576 |
| WeekGrowth |
integer |
The daily data growth within the last seven days. Unit: bytes. Catatan
Formula: Daily data growth within the last seven days = (Current data size - Data size seven days ago)/7. |
1048576 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"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
}
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.