Bir MaxCompute projesinin tablo depolama ayrıntılarını sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ListStorageTablesInfo |
get |
*Storage
|
None | None |
Request syntax
GET /api/v1/observations/analysis/storage/projects/{project}/tablesInfo HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
MaxCompute projesinin adı. |
odps_project |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| tenantId |
string |
No |
Kiracının kimliği. Kiracı kimliğini görüntülemek için MaxCompute konsolunda oturum açabilir ve sol gezinme bölmesinden Kiracılar > Kiracı Özelliği seçeneklerini seçebilirsiniz. |
28074710977**** |
| region |
string |
No |
Bölge kimliği. |
cn-beijing |
| date |
string |
Yes |
İstatistiklerin toplandığı tarih, gün cinsinden. Bu parametreyi |
20241205 |
| recentDays |
integer |
No |
Karşılaştırma için son gün sayısı. |
1 |
| schema |
string |
No |
Şemanın adı. |
schema |
| tablePrefix |
string |
No |
Bulanık eşleştirme için kullanmak istediğiniz tablonun adı. |
bank |
| types |
array |
No |
Depolama türleri. |
|
|
string |
No |
Depolama türü. |
standardStorage |
|
| orderColumn |
string |
No |
Sıralama sütunu. |
totalFrequency |
| ascOrder |
boolean |
No |
Verilerin artan düzende sıralanıp sıralanmayacağını belirtir. |
false |
| pageSize |
integer |
No |
Sayfa başına giriş sayısı. Varsayılan değer: 10. |
10 |
| pageNumber |
integer |
No |
Sayfa numarası. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| requestId |
string |
İstek kimliği. |
0bc12e6a16679892465424670db3eb |
| httpCode |
integer |
HTTP durum kodu.
|
200 |
| errorCode |
string |
Hata kodu. |
OBJECT_NOT_EXIST |
| errorMsg |
string |
Hata mesajı. |
This object does not exist. |
| data |
object |
Döndürülen veriler. |
|
| storageTableInfoList |
array<object> |
Tablo depolama bilgileri. |
|
|
object |
Tablo depolama bilgileri. |
||
| date |
string |
İstatistiklerin toplandığı tarih. Bu değer döndürülmez. |
20241205 |
| projectName |
string |
Proje adı. |
odps_project |
| schemaName |
string |
Şema adı. |
schema |
| tableName |
string |
Tablo adı. |
bank_data |
| isPartitioned |
boolean |
Tablonun bölümlenmiş bir tablo olup olmadığını gösterir. |
false |
| storageType |
string |
Tablo depolama türü.
|
standard |
| lastAccessTime |
integer |
Tabloya en son erişildiği zaman. Bu değer, tablo bölümlenmemiş bir tablo olduğunda döndürülür. Not
Veri toplama yöntemi Temmuz 2023'ten itibaren yükseltilmiştir. Yükseltmeden sonra verilere erişilmezse veya ALGO işleri ya da Hologres'in doğrudan okuma yöntemi kullanılarak erişilirse son erişim zamanı toplanamaz. |
1694589365 |
| totalStorageFileCount |
integer |
Toplam dosya sayısı. |
2 |
| totalStorage |
number |
Toplam depolama kullanımı. Bölümlenmiş bir tablo için bu parametre, tüm bölümlerin depolama kullanımının toplamını belirtir. Bölümlerin depolama türleri farklıysa değer, her depolama türünün depolama kullanımının toplamıdır. |
600 |
| totalStorageUnit |
string |
Depolama kullanımı birimi. |
KB |
| rate |
number |
Toplam depolama kullanımının son {$recentDays} güne kıyasla değişim oranı. |
0 |
| standardStorageFileCount |
integer |
Standart depolama dosyalarının sayısı. |
2 |
| standardStorage |
number |
Standart depolama katmanındaki depolama kullanımı. |
600 |
| standardStorageUnit |
string |
Standart depolama katmanındaki depolama kullanımının birimi. |
KB |
| longTermStorageFileCount |
integer |
Uzun vadeli depolama dosyalarının sayısı. |
0 |
| longTermStorage |
number |
Uzun vadeli depolama katmanındaki depolama kullanımı. |
0 |
| longTermStorageUnit |
string |
Uzun vadeli depolama katmanındaki depolama kullanımının birimi. |
B |
| lowFreqStorageFileCount |
integer |
Düşük frekanslı depolama dosyalarının sayısı. |
0 |
| lowFreqStorage |
number |
Düşük frekanslı katmandaki depolama kullanımı. |
0 |
| lowFreqStorageUnit |
string |
Düşük frekanslı depolama katmanındaki depolama kullanımının birimi. |
B |
| totalFrequency |
integer |
Erişim sıklığı. Not
|
10 |
| totalInputAmount |
number |
Erişilen verilerin toplam miktarı. Not
Tüm erişim davranışları tarafından okunan veri miktarı. |
1 |
| totalInputAmountUnit |
string |
Erişilen verilerin toplam miktarının birimi. |
GB |
| date |
string |
İstatistiklerin toplandığı tarih. |
20241205 |
| totalCount |
integer |
Döndürülen toplam giriş sayısı. |
1 |
| pageNumber |
integer |
Sayfa numarası. |
1 |
| pageSize |
integer |
Sayfa başına giriş sayısı. |
10 |
Examples
Success response
JSON format
{
"requestId": "0bc12e6a16679892465424670db3eb",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST",
"errorMsg": "This object does not exist.\n",
"data": {
"storageTableInfoList": [
{
"date": "20241205",
"projectName": "odps_project",
"schemaName": "schema",
"tableName": "bank_data",
"isPartitioned": false,
"storageType": "standard",
"lastAccessTime": 1694589365,
"totalStorageFileCount": 2,
"totalStorage": 600,
"totalStorageUnit": "KB",
"rate": 0,
"standardStorageFileCount": 2,
"standardStorage": 600,
"standardStorageUnit": "KB",
"longTermStorageFileCount": 0,
"longTermStorage": 0,
"longTermStorageUnit": "B",
"lowFreqStorageFileCount": 0,
"lowFreqStorage": 0,
"lowFreqStorageUnit": "B",
"totalFrequency": 10,
"totalInputAmount": 1,
"totalInputAmountUnit": "GB"
}
],
"date": "20241205",
"totalCount": 1,
"pageNumber": 1,
"pageSize": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.