Performance parameters
Performance parameters can help you view the instance health status, connection status, storage status, connections, query concurrency, data storage, and node status in a visualized manner. This topic describes the performance parameters of AnalyticDB for PostgreSQL.
Elastic storage mode
You can call the DescribeHealthStatus operation to return the following metric parameters.
|
Parameter |
Metric |
Unit |
Description |
|
adbpg_status |
Instance health status |
N/A |
|
|
adbpg_connection_status |
Instance connection status |
N/A |
The connection health status of the instance. Valid values:
Note
The instance connection usage is the maximum connection usage of all coordinator nodes and compute nodes. |
|
adbpg_disk_status |
Instance storage status |
N/A |
The storage status of the instance. Valid values:
Note
The instance storage usage is the average storage usage of all compute nodes. |
|
adbpg_disk_usage_percent |
Instance storage usage |
% |
The status corresponding to the storage usage of the instance. Valid values:
Note
The instance storage usage is the average storage usage of all compute nodes. |
|
adbpg_master_disk_usage_percent_max |
Maximum storage usage of coordinator nodes |
% |
The status corresponding to the maximum storage usage of all coordinator nodes. Valid values:
|
|
adbgp_segment_disk_usage_percent_max |
Maximum storage usage of compute nodes |
% |
The status corresponding to the maximum storage usage of all compute nodes. Valid values:
|
|
node_master_status |
Coordinator node health status |
N/A |
The health status of coordinator nodes. Valid values:
|
|
adbpg_master_status |
|||
|
node_segment_disk_status |
Compute node storage status |
N/A |
The storage status of compute nodes. Valid values:
Note
The compute node storage usage is the maximum storage usage of all compute nodes. |
|
node_master_connection_status |
Coordinator node connection status |
N/A |
The connection status of coordinator nodes. Valid values:
Note
The coordinator node connection usage is the maximum connection usage of all coordinator nodes. |
|
adbpg_segment_status |
|||
|
node_segment_connection_status |
Compute node connection status |
N/A |
The connection status of compute nodes. Valid values:
Note
The compute node connection usage is the maximum connection usage of all compute nodes. |
|
adbpg_instance_total_data_gb |
Total storage |
GB |
The total volume of instance storage. Note
This parameter is displayed in the console only for AnalyticDB for PostgreSQL instances of V6.3.11.3 or later. |
|
adbpg_instance_hot_data_gb |
Hot storage |
GB |
The total volume of hot storage. Note
This parameter is displayed in the console only for AnalyticDB for PostgreSQL instances of V6.3.11.3 or later. |
|
adbpg_instance_cold_data_gb |
Cold storage |
GB |
The total volume of cold storage. Note
This parameter is displayed in the console only for AnalyticDB for PostgreSQL instances of V6.3.11.3 or later. |
You can call the DescribeDBClusterPerformance operation to return the following metric parameters.
|
Parameter |
Metric |
Unit |
Description |
|
adbpg_segment_cnt |
Number of compute nodes |
N/A |
The number of compute nodes that are collected per hour. |
|
adbpg_instance_disk_used_mb |
Instance storage used |
MB |
The amount of storage space that is used by all compute nodes. |
|
adbpg_instance_disk_usage_percent |
Instance storage usage |
% |
The storage usage of the instance, which is calculated by using the following formula: Storage space used by all compute nodes/Reserved storage space of all compute nodes. |
|
node_master_connection_count |
Number of coordinator node connections |
N/A |
The number of connections to coordinator nodes. |
|
node_segment_connection_count |
Number of compute node connections |
N/A |
The number of connections to compute nodes. |
|
node_segment_workfile_used_mb |
Temporary disk file size |
MB |
The size of temporary files that are written to disks. |
|
node_cpu_used_percent |
CPU utilization |
% |
The CPU utilization of coordinator nodes or compute nodes. |
|
node_mem_used_percent |
Memory usage |
% |
The memory usage of coordinator nodes or compute nodes. |
|
node_disk_iops_percent |
I/O usage |
% |
The I/O usage of coordinator nodes or compute nodes. |
|
node_disk_used_mb |
Storage used |
MB |
The amount of storage space that is used by each compute node. |
|
node_disk_usage_percent |
Storage usage |
% |
The storage usage of each compute node, which is calculated by using the following formula: Storage space used by each compute node/Reserved storage space of each compute node. |
|
adbpg_rsq_cost |
Query cost for a resource queue |
N/A |
The estimated total cost of all queries that can be executed in the current queue. rsqCostLimit specifies the cost limit, and a value of -1 indicates no limit. rsqCostValue specifies the total cost of all queries that are being executed. |
|
adbpg_rsq_count |
Number of concurrent queries in a resource queue |
N/A |
The number of concurrent queries that can be executed in the current queue. If the number of concurrent queries reaches the upper limit, subsequent queries that are assigned to the query must wait for the queue. rsqCountLimit specifies the maximum number of concurrent queries that are allowed, and a value of -1 indicates no limit. rsqCountValue specifies the number of concurrent queries that are being executed. |
|
adbpg_rsq_memory |
Query memory for a resource queue |
Byte |
The amount of memory used by all queries that can be executed in the current queue. rsqMemoryLimit specifies the memory limit, and -1 indicates no limit. rsqMemoryValue specifies the amount of memory used by all queries that are being executed. |
|
adbpg_rsq_waiters |
Number of queries waiting for a resource queue |
N/A |
The number of queries that are waiting for resource queue slots in the current queue due to insufficient resources. If the number of queries that are being executed in a queue reaches the concurrency limit, subsequent queries that are assigned to the queue must wait until sufficient resources are available. These queries are in the waiting state in the pg_stat_activity view. |
|
adbpg_rsq_holders |
Number of executing queries in a resource queue |
N/A |
The number of queries that have obtained resource queue slots for execution in the current queue. These queries are not surely in the active state. If these queries have to wait for other resources such as row locks, they may be still in the waiting state. In this case, the resource queue slots that are occupied by these queries are not released. Note
In most cases, the value of rsqCountValue is equivalent to that of rsqholders. In rare cases, the value of adbpg_rsq_holders may be greater than that of rsqCountValue. This is because resource queue locks may not be released after queries are executed due to system exceptions. If the issue of distinct differences between the values of adbpg_rsq_holders and rsqCountValue persists, contact Alibaba Cloud technical support. |
|
adbpg_db_qps |
Database queries per second (QPS) |
N/A |
The total number of read queries processed per second by each database. The query statements include SELECT, SELECT INTO, SELECT FOR UPDATE, and FETCH. |
|
adbpg_db_tps |
Database transactions per second (TPS) |
N/A |
The total number of write operations processed per second by each database. The write operations include INSERT, UPDATE, DELETE, and INSERT INTO SELECT. |
|
adbpg_qps |
Instance queries per second (QPS) |
op/s |
The total number of read queries processed per second by the instance. The query statements include SELECT, SELECT INTO, SELECT FOR UPDATE, and FETCH. |
|
adbpg_tps |
Instance transactions per second (TPS) |
op/s |
The total number of write operations processed per second by the instance. The write operations include INSERT, UPDATE, DELETE, and INSERT INTO SELECT. |
|
adbpg_query_rt |
Query response time |
ms |
The average read query response time of the instance. The query statements include SELECT, SELECT INTO, SELECT FOR UPDATE, and FETCH. Note
This parameter is displayed in the console only for instances with kernel version 7.3.2.8 or 7.4.2.3 and later. |
|
adbpg_insert_rt |
Write response time |
ms |
The average write operation response time of the instance. The write operations include INSERT, UPDATE, DELETE, and INSERT INTO SELECT. Note
This parameter is displayed in the console only for instances with kernel version 7.3.2.8 or 7.4.2.3 and later. |
|
adbpg_query_failure_percent |
Query failure rate |
% |
The average read query failure rate of the instance. The query statements include SELECT, SELECT INTO, SELECT FOR UPDATE, and FETCH. Note
This parameter is displayed in the console only for instances with kernel version 7.3.2.8 or 7.4.2.3 and later. |
|
adbpg_insert_failure_percent |
Write failure rate |
% |
The average write operation failure rate of the instance. The write operations include INSERT, UPDATE, DELETE, and INSERT INTO SELECT. Note
This parameter is displayed in the console only for instances with kernel version 7.3.2.8 or 7.4.2.3 and later. |
|
node_mem_used_gb |
Memory usage |
GB |
The memory usage of a coordinator node or compute node. |
|
adbpg_master_conn_percent |
Coordinator node connection usage |
% |
The connection usage of the coordinator node, calculated as the number of connections divided by the maximum number of non-superuser connections. |
|
node_disk_iops |
Total IOPS |
count/s |
The total read and write IOPS of a compute node. |
|
node_disk_reads_completed_total_rate |
Read IOPS |
count/s |
The number of read I/O operations completed per second on a compute node. |
|
node_disk_writes_completed_total_rate |
Write IOPS |
count/s |
The number of write I/O operations completed per second on a compute node. |
|
node_disk_read_mb |
Read I/O throughput |
MB/s |
The amount of data read per second on a compute node. |
|
node_disk_writes_mb |
Write I/O throughput |
MB/s |
The amount of data written per second on a compute node. |
|
node_disk_read_await |
Average read I/O latency |
ms |
The average latency of each read I/O operation on a compute node. |
|
node_disk_write_await |
Average write I/O latency |
ms |
The average latency of each write I/O operation on a compute node. |
|
adbpg_gpu_utilization_gpu |
GPU utilization |
% |
The GPU compute utilization of the instance. Compatible with both EAS and native deployment modes. |
|
adbpg_gpu_utilization_memory |
GPU memory utilization |
% |
The GPU memory utilization of the instance. Compatible with both EAS and native deployment modes. |
Serverless mode
You can call the DescribeHealthStatus operation to return the following metric parameters.
|
Parameter |
Metric |
Unit |
Description |
|
adbpg_status |
Instance health status |
N/A |
|
|
adbpg_connection_status |
Instance connection status |
N/A |
The connection health status of the instance. Valid values:
Note
The instance connection usage is the maximum connection usage of all coordinator nodes and compute nodes. |
|
node_master_status |
Coordinator node health status |
N/A |
The health status of coordinator nodes. Valid values:
|
|
node_master_connection_status |
Coordinator node connection status |
N/A |
The connection status of coordinator nodes. Valid values:
Note
The coordinator node connection usage is the maximum connection usage of all coordinator nodes. |
|
node_segment_connection_status |
Compute node connection status |
N/A |
The connection status of compute nodes. Valid values:
Note
The compute node connection usage is the maximum connection usage of all compute nodes. |
|
adbpg_master_disk_usage_percent_max |
Maximum storage usage of coordinator nodes |
% |
The status corresponding to the maximum storage usage of all coordinator nodes. Valid values:
|
You can call the DescribeDBClusterPerformance operation to return the following metric parameters.
|
Parameter |
Metric |
Unit |
Description |
|
adbpg_acu_used |
ACU usage |
AnalyticDB compute unit (ACU) |
The amount of computing resources that are used by the instance. |
|
adbpg_segment_cnt |
Number of compute nodes |
N/A |
The number of compute nodes that are collected per hour. |
|
adbpg_instance_disk_used_mb |
Instance storage used |
MB |
The amount of Object Storage Service (OSS) storage space that is used by the instance. |
|
node_master_connection_count |
Number of coordinator node connections |
N/A |
The number of connections to coordinator nodes. |
|
node_segment_connection_count |
Number of compute node connections |
N/A |
The number of connections to compute nodes. |
|
node_segment_workfile_used_mb |
Temporary disk file size |
MB |
The size of temporary files that are written to disks. |
|
node_cpu_used_percent |
CPU utilization |
% |
The CPU utilization of coordinator nodes or compute nodes. |
|
node_mem_used_percent |
Memory usage |
% |
The memory usage of coordinator nodes or compute nodes. |