All Products
Search
Document Center

AnalyticDB:DescribeHealthStatus

Last Updated:Jun 12, 2026

Melihat status kesehatan instans dan node.

Deskripsi operasi

Antarmuka ini digunakan untuk melihat status kesehatan instans AnalyticDB PostgreSQL versi mode elastis penyimpanan dan Serverless, node koordinator (juga disebut node Master), dan node komputasi (juga disebut node Segment).

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

gpdb:DescribeHealthStatus

get

*DBInstance

acs:gpdb:*:{#accountId}:dbinstance/{#DBInstanceId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

DBInstanceId

string

Yes

ID instans.

Catatan

Anda dapat memanggil antarmuka DescribeDBInstances untuk melihat detail semua instans AnalyticDB PostgreSQL di region target, termasuk ID instans.

gp-bp12ga6v69h86****

Key

string

Yes

Nama parameter performa. Beberapa metrik dipisahkan menggunakan koma half-width bahasa Inggris (,). Untuk informasi lebih lanjut, lihat Tabel parameter performa.

node_master_status,node_master_connection_status,node_segment_connection_status,node_segment_disk_status

Elemen respons

Element

Type

Description

Example

object

Status

object

Informasi spesifik pemantauan performa, yang terdiri dari nama parameter, status, dan nilai metrik. Informasi pemantauan yang sesuai hanya akan dikembalikan jika parameter performa diteruskan dalam parameter permintaan Key. Misalnya, jika parameter permintaan Key hanya berisi adbpg_status, maka informasi yang dikembalikan hanya berisi informasi pemantauan adbpg_status.

Untuk informasi parameter performa lebih lanjut, lihat Tabel parameter performa.

{"node_master_connection_status":{"Status":"healthy","Value":1.6}}

adbpg_status

object

Status kesehatan instans.

Status

string

The health status of the instance. Valid values:

  • critical: The coordinator node or a compute node is unavailable. In this case, this metric is marked in red in the console.

  • healthy: All nodes are available. In this case, this metric is marked in green in the console.

healthy

Value

number

The metric value of instance health status. Valid values:

  • 1: healthy

  • 0: critical

1

adbpg_connection_status

object

Status koneksi instans.

Status

string

The connection health status of the instance. Valid values:

  • critical: The instance connection usage is greater than 95%. In this case, this metric is marked in red in the console.

  • warning: The instance connection usage is greater than 90% and less than or equal to 95%. In this case, this metric is marked in yellow in the console.

  • healthy: The instance connection usage is less than or equal to 90%. In this case, this metric is marked in green in the console.

Catatan

The instance connection usage is the maximum connection usage among all the coordinator and compute nodes.

healthy

Value

number

The metric value of instance connection usage.

Unit: %.

1.71

adbpg_disk_status

object

Status penyimpanan instans.

Catatan

Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini.

Status

string

The storage status of the instance. Valid values:

  • critical: The instance storage usage is greater than or equal to 90%. In this case, this metric is marked in red in the console and the instance is locked.

  • warning: The instance storage usage is greater than or equal to 70% and less than 90%. In this case, this metric is marked in yellow in the console.

  • healthy: The instance storage usage is less than 70%. In this case, this metric is marked in green in the console.

Catatan

The instance storage usage is the average storage usage of all compute nodes.

healthy

Value

number

The metric value of instance storage usage.

Unit: %.

1.52

adbpg_disk_usage_percent

object

Tingkat penyimpanan instans.

Catatan

Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini.

Status

string

The status corresponding to the storage usage of the instance. Valid values:

  • critical: The instance storage usage is greater than or equal to 90%. In this case, the instance is locked.

  • warning: The instance storage usage is greater than or equal to 70% and less than 90%.

  • healthy: The instance storage usage is less than 70%.

Catatan

The instance storage usage is the average storage usage of all compute nodes.

healthy

Value

number

The metric value of instance storage usage.

Unit: %.

1.52

adbpg_master_disk_usage_percent_max

object

Tingkat penyimpanan maksimum node koordinator instans, yaitu tingkat penyimpanan maksimum di antara semua node Master pada instans tersebut.

Catatan

Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini.

Status

string

The status corresponding to the maximum storage usage of the coordinator node. Valid values:

  • critical: The coordinator node storage usage is greater than or equal to 90%. In this case, the instance is locked.

  • warning: The coordinator node storage usage is greater than or equal to 70% and less than 90%.

  • healthy: The coordinator node storage usage is less than 70%.

healthy

Value

number

The metric value of maximum coordinator node storage usage.

Unit: %.

1.34

adbgp_segment_disk_usage_percent_max

object

Tingkat penyimpanan maksimum node komputasi instans, yaitu tingkat penyimpanan maksimum di antara semua node Segment pada instans tersebut.

Catatan

Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini.

Status

string

The status corresponding to the maximum storage usage among all compute nodes. Valid values:

  • critical: The compute node storage usage is greater than or equal to 90%. In this case, the instance is locked.

  • warning: The compute node storage usage is greater than or equal to 80% and less than 90%.

  • healthy: The compute node storage usage is less than 80%.

healthy

Value

number

The metric value of maximum compute node storage usage.

Unit: %.

1.52

node_master_status

object

Status kesehatan node koordinator, yaitu status kesehatan node Master.

Status

string

The health status of the coordinator node. Valid values:

  • critical: The primary or standby coordinator node is unavailable. In this case, this metric is marked in red in the console.

  • healthy: Both the primary and standby coordinator nodes are available. In this case, this metric is marked in green in the console.

healthy

Value

number

The metric value of coordinator node health status. Valid values:

  • 1: healthy

  • 0: critical

1

node_segment_disk_status

object

Status penyimpanan node komputasi, yaitu status penyimpanan node Segment.

Catatan

Hanya mode elastis penyimpanan yang akan mengembalikan nilai ini.

Status

string

The storage status of compute nodes. Valid values:

  • critical: The compute node storage usage is greater than or equal to 90%. In this case, this metric is marked in red in the console and the instance is locked.

  • warning: The compute node storage usage is greater than or equal to 80% and less than 90%. In this case, this metric is marked in yellow in the console.

  • healthy: The compute node storage usage is less than 80%. In this case, this metric is marked in green in the console.

Catatan

The compute node storage usage is the maximum storage usage among all compute nodes.

healthy

Value

number

The metric value of maximum compute node storage usage.

Unit: %.

1.52

node_master_connection_status

object

Status kesehatan koneksi node koordinator, yaitu status kesehatan koneksi node Master.

Status

string

The connection health status of the coordinator node. Valid values:

  • critical: The coordinator node connection usage is greater than 95%. In this case, this metric is marked in red in the console.

  • warning: The coordinator node connection usage is greater than or equal to 90% and less than 95%. In this case, this metric is marked in yellow in the console.

  • healthy: The coordinator node connection usage is less than 90%. In this case, this metric is marked in green in the console.

Catatan

The coordinator node connection usage is the maximum connection usage of the coordinator node.

healthy

Value

number

The metric value of coordinator node connection usage.

Unit: %.

1.71

node_segment_connection_status

object

Status kesehatan koneksi node komputasi, yaitu status kesehatan koneksi node Segment.

Status

string

The connection health status of compute nodes. Valid values:

  • critical: The compute node connection usage is greater than or equal to 95%. In this case, this metric is marked in red in the console.

  • warning: The compute node connection usage is greater than or equal to 90% and less than 95%. In this case, this metric is marked in yellow in the console.

  • healthy: The compute node connection usage is less than 90%. In this case, this metric is marked in green in the console.

Catatan

The compute node connection usage is the maximum connection usage among all compute nodes.

healthy

Value

number

The metric value of maximum compute node connection usage.

Unit: %.

0.48

adbpg_master_status

object

Status node koordinator, yaitu status ketersediaan node Master.

Status

string

The availability status of the coordinator node. Valid values:

  • critical: Both the primary and standby coordinator nodes are unavailable. In this case, this metric is marked in red in the console.

  • warning: The primary or standby coordinator node is unavailable. In this case, this metric is marked in yellow in the console.

  • healthy: Both the primary and standby coordinator nodes are available. In this case, this metric is marked in green in the console.

healthy

Value

number

The metric value of coordinator node availability status. Valid values:

1

adbpg_segment_status

object

Status node komputasi, yaitu status ketersediaan node Segment.

Status

string

The availability status of compute nodes. Valid values:

  • critical: All the primary and secondary compute nodes are unavailable. In this case, this metric is marked in red in the console.

  • warning: Fifty percent or more than fifty percent of compute nodes are unavailable. In this case, this metric is marked in yellow in the console.

  • healthy: All compute nodes are available. In this case, this metric is marked in green in the console.

healthy

Value

number

The metric value of compute node availability status.

1

adbpg_instance_total_data_gb

object

Total volume data penyimpanan instans.

Value

number

The total amount of data storage of the instance. Unit: GB.

4.1

adbpg_instance_hot_data_gb

object

Total volume penyimpanan data panas (hot data).

Value

number

The total amount of hot data storage. Unit: GB.

4.1

adbpg_instance_cold_data_gb

object

Total volume penyimpanan data dingin (cold data).

Value

number

The total amount of cold data storage. Unit: GB.

0

RequestId

string

ID permintaan.

D97B4191-104D-10CE-8BC5-53**********

DBClusterId

string

ID instans.

gp-bp12ga6v69h86****

Contoh

Respons sukses

JSONformat

{
  "Status": {
    "adbpg_status": {
      "Status": "healthy",
      "Value": 1
    },
    "adbpg_connection_status": {
      "Status": "healthy",
      "Value": 1.71
    },
    "adbpg_disk_status": {
      "Status": "healthy",
      "Value": 1.52
    },
    "adbpg_disk_usage_percent": {
      "Status": "healthy",
      "Value": 1.52
    },
    "adbpg_master_disk_usage_percent_max": {
      "Status": "healthy",
      "Value": 1.34
    },
    "adbgp_segment_disk_usage_percent_max": {
      "Status": "healthy",
      "Value": 1.52
    },
    "node_master_status": {
      "Status": "healthy",
      "Value": 1
    },
    "node_segment_disk_status": {
      "Status": "healthy",
      "Value": 1.52
    },
    "node_master_connection_status": {
      "Status": "healthy",
      "Value": 1.71
    },
    "node_segment_connection_status": {
      "Status": "healthy",
      "Value": 0.48
    },
    "adbpg_master_status": {
      "Status": "healthy",
      "Value": 1
    },
    "adbpg_segment_status": {
      "Status": "healthy",
      "Value": 1
    },
    "adbpg_instance_total_data_gb": {
      "Value": 4.1
    },
    "adbpg_instance_hot_data_gb": {
      "Value": 4.1
    },
    "adbpg_instance_cold_data_gb": {
      "Value": 0
    }
  },
  "RequestId": "D97B4191-104D-10CE-8BC5-53**********",
  "DBClusterId": "gp-bp12ga6v69h86****"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.