Consulta as informações de visão geral de armazenamento de um cluster AnalyticDB for MySQL, como o tamanho total dos dados, tamanho dos dados quentes, tamanho dos dados frios e crescimento dos dados.
Descrição da operação
Para informações sobre os endpoints do AnalyticDB for MySQL, consulte Endpoints.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
adb:DescribeDBClusterSpaceSummary |
get |
DBCluster
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| DBClusterId |
string |
Sim |
O ID do cluster AnalyticDB for MySQL Data Lakehouse Edition. |
amv-wz9v5sa7mm79z4l2 |
| RegionId |
string |
Sim |
O ID da região. Nota
Você pode chamar a operação DescribeRegions para consultar a lista de regiões mais recente. |
cn-hangzhou |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| Data |
object |
As informações de visão geral de armazenamento consultadas. |
|
| TotalSize |
string |
O tamanho total dos dados. Unidade: bytes. Nota
Fórmula: Tamanho total dos dados = Tamanho dos dados quentes + Tamanho dos dados frios. |
8388608 |
| HotData |
object |
Os dados quentes. |
|
| TotalSize |
integer |
The hot data size. Unit: bytes. Nota
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 |
Os dados frios. |
|
| TotalSize |
integer |
The cold data size. Unit: bytes. Nota
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 |
O crescimento dos dados. |
|
| DayGrowth |
integer |
The data growth within the last day. Unit: bytes. Nota
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. Nota
Formula: Daily data growth within the last seven days = (Current data size - Data size seven days ago)/7. |
1048576 |
Exemplos
Resposta de sucesso
JSON formato
{
"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
}
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.