All Products
Search
Document Center

AnalyticDB:Performance parameters

Last Updated:Mar 28, 2026

AnalyticDB for PostgreSQL exposes two sets of metric parameters: health metrics that show the overall status of your instance, and performance metrics that track resource utilization over time. Use these parameters to monitor instance health, connection usage, storage capacity, query concurrency, and node-level resource consumption.

Retrieve health metrics by calling DescribeHealthStatus, and performance metrics by calling DescribeDBClusterPerformance.

Elastic storage mode

Health metrics (DescribeHealthStatus)

All status values are color-coded in the console: critical appears in red, warning in yellow, and healthy in green.

ParameterMetricUnitDescription
adbpg_statusInstance health statusN/AOverall instance health. critical: a coordinator node or compute node is unavailable. healthy: all nodes are available.
adbpg_connection_statusInstance connection statusN/AConnection health based on the highest connection usage across all coordinator and compute nodes. critical: usage > 95%. warning: usage > 90% and ≤ 95%. healthy: usage ≤ 90%.
adbpg_disk_statusInstance storage statusN/AStorage health based on the average storage usage of all compute nodes. critical: usage ≥ 90% (instance is locked). warning: usage ≥ 70% and < 90%. healthy: usage < 70%.
adbpg_disk_usage_percentInstance storage usage%Storage usage percentage based on the average usage of all compute nodes. Same thresholds as adbpg_disk_status.
adbpg_master_disk_usage_percent_maxMaximum storage usage of coordinator nodes%Status based on the highest storage usage across all coordinator nodes. critical: usage ≥ 90% (instance is locked). warning: usage ≥ 70% and < 90%. healthy: usage < 70%.
adbgp_segment_disk_usage_percent_maxMaximum storage usage of compute nodes%Status based on the highest storage usage across all compute nodes. critical: usage ≥ 90% (instance is locked). warning: usage ≥ 80% and < 90%. healthy: usage < 80%.
node_master_statusCoordinator node health statusN/AHealth of coordinator nodes. critical: a coordinator node is unavailable. healthy: all coordinator nodes are available.
node_segment_disk_statusCompute node storage statusN/AStorage status based on the highest storage usage across all compute nodes. critical: usage ≥ 90% (instance is locked). warning: usage ≥ 80% and < 90%. healthy: usage < 80%.
node_master_connection_statusCoordinator node connection statusN/AConnection status based on the highest connection usage across all coordinator nodes. critical: usage ≥ 95%. warning: usage ≥ 90% and < 95%. healthy: usage < 90%.
node_segment_connection_statusCompute node connection statusN/AConnection status based on the highest connection usage across all compute nodes. critical: usage ≥ 95%. warning: usage ≥ 90% and < 95%. healthy: usage < 90%.
adbpg_instance_total_data_gbTotal storageGBTotal volume of instance storage. Available in the console for instances running V6.3.11.3 or later.
adbpg_instance_hot_data_gbHot storageGBTotal volume of hot storage. Available in the console for instances running V6.3.11.3 or later.
adbpg_instance_cold_data_gbCold storageGBTotal volume of cold storage. Available in the console for instances running V6.3.11.3 or later.
Note Storage thresholds differ between coordinator and compute nodes. Coordinator node storage triggers warning at 70% and critical at 90%. Compute node storage triggers warning at 80% and critical at 90%.

Performance metrics (DescribeDBClusterPerformance)

The Scope column indicates whether the metric applies to the entire instance or to individual nodes.

ParameterMetricUnitScopeDescription
adbpg_segment_cntNumber of compute nodesN/AInstanceNumber of compute nodes, sampled once per hour.
adbpg_instance_disk_used_mbInstance storage usedMBInstanceStorage used across all compute nodes.
adbpg_instance_disk_usage_percentInstance storage usage%InstanceStorage usage calculated as: storage used by all compute nodes ÷ reserved storage of all compute nodes.
node_master_connection_countCoordinator node connectionsN/ANodeNumber of active connections to coordinator nodes.
node_segment_connection_countCompute node connectionsN/ANodeNumber of active connections to compute nodes.
node_segment_workfile_used_mbTemporary disk file sizeMBNodeSize of temporary files written to disk.
node_cpu_used_percentCPU utilization%NodeCPU utilization of coordinator or compute nodes.
node_mem_used_percentMemory usage%NodeMemory usage of coordinator or compute nodes.
node_disk_iops_percentI/O usage%NodeI/O usage of coordinator or compute nodes.
node_disk_used_mbStorage usedMBNodeStorage used by each compute node.
node_disk_usage_percentStorage usage%NodeStorage usage of each compute node, calculated as: storage used ÷ reserved storage.
adbpg_rsq_costResource queue query costN/AInstanceEstimated total cost of all queries in the resource queue. rsqCostLimit: the cost limit (-1 means no limit). rsqCostValue: the total cost of queries currently running.
adbpg_rsq_countResource queue concurrent queriesN/AInstanceNumber of queries running concurrently in the resource queue. rsqCountLimit: the maximum number of concurrent queries allowed (-1 means no limit). rsqCountValue: the number of queries currently running.
adbpg_rsq_memoryResource queue memoryByteInstanceMemory used by all queries in the resource queue. rsqMemoryLimit: the memory limit (-1 means no limit). rsqMemoryValue: the memory used by queries currently running.
adbpg_rsq_waitersQueries waiting for a resource queue slotN/AInstanceNumber of queries waiting because the resource queue has reached its concurrency or resource limit. These queries appear in the pg_stat_activity view with a waiting state.
adbpg_rsq_holdersQueries holding a resource queue slotN/AInstanceNumber of queries that have obtained a resource queue slot. These queries are not guaranteed to be active — if they are waiting for other resources such as row locks, they remain in the slot without releasing it.
adbpg_db_qpsInstance QPS (queries per second)N/AInstanceRead queries processed per second, including SELECT, SELECT INTO, SELECT FOR UPDATE, and FETCH.
adbpg_db_tpsInstance TPS (transactions per second)N/AInstanceWrite operations processed per second, including INSERT, UPDATE, DELETE, and INSERT INTO SELECT.

Diagnosing resource queue bottlenecks

Monitor adbpg_rsq_waiters and adbpg_rsq_holders together to diagnose resource queue bottlenecks:

  • If adbpg_rsq_waiters is non-zero, the queue has reached its concurrency limit (rsqCountLimit) or resource limit. Check adbpg_rsq_count to see whether the limit is set appropriately.

  • In most cases, rsqCountValue (from adbpg_rsq_count) equals adbpg_rsq_holders. In rare cases, the value of adbpg_rsq_holders may be greater than that of rsqCountValue. A persistent and significant gap between these two values may indicate that resource queue locks were not released after queries completed due to a system exception. If this persists, contact Alibaba Cloud technical support.

Serverless mode

Health metrics (DescribeHealthStatus)

All status values are color-coded in the console: critical appears in red, warning in yellow, and healthy in green.

ParameterMetricUnitDescription
adbpg_statusInstance health statusN/AOverall instance health. critical: a coordinator node or compute node is unavailable. healthy: all nodes are available.
adbpg_connection_statusInstance connection statusN/AConnection health based on the highest connection usage across all coordinator and compute nodes. critical: usage > 95%. warning: usage > 90% and ≤ 95%. healthy: usage ≤ 90%.
node_master_statusCoordinator node health statusN/AHealth of coordinator nodes. critical: a coordinator node is unavailable. healthy: all coordinator nodes are available.
node_master_connection_statusCoordinator node connection statusN/AConnection status based on the highest connection usage across all coordinator nodes. critical: usage ≥ 95%. warning: usage ≥ 90% and < 95%. healthy: usage < 90%.
node_segment_connection_statusCompute node connection statusN/AConnection status based on the highest connection usage across all compute nodes. critical: usage ≥ 95%. warning: usage ≥ 90% and < 95%. healthy: usage < 90%.
adbpg_master_disk_usage_percent_maxMaximum storage usage of coordinator nodes%Status based on the highest storage usage across all coordinator nodes. critical: usage ≥ 90% (instance is locked). warning: usage ≥ 70% and < 90%. healthy: usage < 70%.

Performance metrics (DescribeDBClusterPerformance)

The Scope column indicates whether the metric applies to the entire instance or to individual nodes.

ParameterMetricUnitScopeDescription
adbpg_acu_usedACU usageAnalyticDB compute unit (ACU)InstanceComputing resources currently used by the instance.
adbpg_segment_cntNumber of compute nodesN/AInstanceNumber of compute nodes, sampled once per hour.
adbpg_instance_disk_used_mbInstance storage usedMBInstanceObject Storage Service (OSS) storage space used by the instance.
node_master_connection_countCoordinator node connectionsN/ANodeNumber of active connections to coordinator nodes.
node_segment_connection_countCompute node connectionsN/ANodeNumber of active connections to compute nodes.
node_segment_workfile_used_mbTemporary disk file sizeMBNodeSize of temporary files written to disk.
node_cpu_used_percentCPU utilization%NodeCPU utilization of coordinator or compute nodes.
node_mem_used_percentMemory usage%NodeMemory usage of coordinator or compute nodes.