Tüm Ürünler
Search
Belge Merkezi

:ListStorageTablesInfo

Son Güncelleme:Sep 30, 2026

Bir MaxCompute projesinin tablo depolama ayrıntılarını sorgular.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

odps:ListStorageTablesInfo

get

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#project}

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 YYYYMMdd biçiminde bir değer olarak ayarlayın.

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.

  • 1xx: Bilgilendirme yanıtı. İstek alındı ve işleniyor.

  • 2xx: Başarılı. İstek sunucu tarafından başarıyla alındı, anlaşıldı ve kabul edildi.

  • 3xx: Yönlendirme. İstek yönlendirildi ve isteği tamamlamak için ek işlemler gerekiyor.

  • 4xx: İstemci hatası. İstek geçersiz istek parametreleri ve söz dizimleri içeriyor veya belirli istek koşulları karşılanamıyor.

  • 5xx: Sunucu hatası. Sunucu, diğer nedenlerden dolayı gereksinimleri karşılayamıyor.

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

  • lowfrequency

  • longterm

  • unknown: Bu değer, tablo bölümlenmiş bir tablo olduğunda döndürülür. Her bölümün depolama türünü sorgulamak için ListStoragePartitionsInfo işlemini çağırabilirsiniz.

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
  • Erişim davranışları şunları içerir:

  • Tablonun bir SQL görevinin giriş tablosu olarak kullanılması.

  • Tablonun Tunnel tarafından indirilmesi.

  • Tablonun Storage API çağrılarak okunması. Bölümlenmiş tablonun bölüm ayrıntı düzeyi kullanılamaz. Her erişim işlemi gerçekleştirildiğinde erişim sıklığı 1 artırılır.

  • 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 erişim sıklığı toplanamaz.

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.