All Products
Search
Document Center

ApsaraDB for ClickHouse:DescribeDBClusterPerformance

Last Updated:Jun 10, 2026

Melihat data performa kluster ApsaraDB untuk ClickHouse Community-Compatible Edisi.

Deskripsi operasi

You can view the performance monitoring data for a specified cluster within a time range based on performance metrics. The data is collected every 30 seconds.

Catatan

This operation supports only ApsaraDB for ClickHouse Community-Compatible Edition clusters that were created before December 1, 2021.

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

clickhouse:DescribeDBClusterPerformance

get

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

DBClusterId

string

Yes

ID kluster.

cc-bp125e3uu94wo****

Key

string

No

Data deret waktu performa yang ingin Anda kueri. Pisahkan beberapa nama metrik dengan koma (,). Anda dapat mengkueri hingga lima data deret waktu performa sekaligus. Data deret waktu performa berikut didukung:

Catatan

Key wajib diisi.

  • CPU:

    • CPU_USAGE: Utilisasi CPU.

  • Memory:

    • MEM_USAGE: Utilisasi memori.

    • MEM_USAGE_SIZE: Penggunaan memori dalam MB.

  • Disk:

    • DISK_USAGE: Utilisasi disk.

    • DISK_USAGE_SIZE: Penggunaan disk dalam MB.

    • IOPS: Operasi input/output per detik (IOPS) disk.

  • Connection:

    • CONN_USAGE: Utilisasi koneksi database.

    • CONN_USAGE_COUNT: Jumlah koneksi database.

  • Write:

    • TPS: Jumlah baris yang ditulis per detik (TPS).

    • INSERT_SIZE: Ukuran penulisan per detik dalam MB.

  • Query:

    • QPS: Kueri per detik (QPS).

    • AVG_SEEK: Jumlah panggilan SEEK acak.

  • WAIT:

    • ZK_WAIT: Pengatur waktu tunggu rata-rata ZooKeeper (ZK) dalam ms.

    • IO_WAIT: Pengatur waktu tunggu I/O rata-rata dalam ms.

    • CPU_WAIT: Pengatur waktu tunggu CPU rata-rata dalam ms.

MEM_USAGE

StartTime

string

Yes

Awal rentang pengatur waktu yang akan dikueri. Tentukan waktu dalam UTC dengan format yyyy-MM-ddTHH:mmZ.

2021-11-27T16:37Z

EndTime

string

Yes

Akhir pengatur waktu yang akan dikueri. Tentukan waktu dalam UTC dengan format yyyy-MM-ddTHH:mmZ.

Catatan

Waktu akhir harus lebih lambat dari waktu mulai. Pengatur waktu tidak boleh melebihi 32 hari.

2021-11-27T16:38Z

Elemen respons

Element

Type

Description

Example

object

EndTime

string

The end of the time range that was queried. The time is in UTC, formatted as yyyy-MM-ddTHH:mmZ.

2021-11-27T16:38Z

RequestId

string

The request ID.

FE242962-6DA3-5FC8-9691-37B62A3210F7

StartTime

string

The beginning of the time range that was queried. The time is in UTC, formatted as yyyy-MM-ddTHH:mmZ.

2021-11-27T16:37Z

DBClusterId

string

The cluster ID.

cc-bp125e3uu94wo****

Performances

array<object>

The list of performance metrics for the cluster.

array<object>

The performance metric.

Key

string

The name of the performance metric.

MEM_USAGE

Unit

string

The unit of the metric.

%

Series

array<object>

The time series data for the metric.

array<object>

The metric information.

Values

array<object>

The values of the performance metrics, each associated with a sampling timestamp.

object

The metric value.

Point

array

The value of the performance metric.

string

Detailed time-series data for the performance metric.

[ "2021-11-26T16:39:00Z","15.08" ]

Name

string

The name of the time series.

cc-bp125e3uu94wo1s0k16****

Name

string

The name of the performance metric.

mem_usage

Contoh

Respons sukses

JSONformat

{
  "EndTime": "2021-11-27T16:38Z",
  "RequestId": "FE242962-6DA3-5FC8-9691-37B62A3210F7",
  "StartTime": "2021-11-27T16:37Z",
  "DBClusterId": "cc-bp125e3uu94wo****",
  "Performances": [
    {
      "Key": "MEM_USAGE",
      "Unit": "%",
      "Series": [
        {
          "Values": [
            {
              "Point": [
                "[ \"2021-11-26T16:39:00Z\",\"15.08\" ]"
              ]
            }
          ],
          "Name": "cc-bp125e3uu94wo1s0k16****"
        }
      ],
      "Name": "mem_usage"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.