ApsaraDB RDS exposes performance parameters that you can query through the DescribeDBInstancePerformance API operation and view in the ApsaraDB RDS console. Use these parameters to monitor resource consumption, detect bottlenecks, and troubleshoot performance issues across your RDS instances.
ApsaraDB RDS for MySQL and ApsaraDB RDS for MariaDB
ApsaraDB RDS for MySQL and ApsaraDB RDS for MariaDB use the same parameters.
Value of | Returned metrics and descriptions |
| MySQL_NetworkTraffic | Average inbound and outbound network traffic per second. Unit: KB/s. |
| MySQL_QPSTPS | Average number of SQL statements executed per second (QPS) and average number of transactions executed per second (TPS). |
| MySQL_Sessions | Number of active connections and total connections. Unit: counts. |
| MySQL_InnoDBBufferRatio | Read hit ratio, usage, and dirty ratio of the InnoDB buffer pool. Unit: %. |
| MySQL_InnoDBDataReadWriten | Average data read and written by InnoDB per second. Unit: KB. |
| MySQL_InnoDBLogRequests | Average reads from and writes to the InnoDB buffer pool per second. Unit: counts/s. |
| MySQL_InnoDBLogWrites | Average log write requests per second, average physical writes to log files per second, and average writes to log files via fsync() per second. Unit: counts/s. |
| MySQL_TempDiskTableCreates | Number of temporary tables automatically created on disk during statement execution. Unit: tables. |
| MySQL_MyISAMKeyBufferRatio | Average usage, read hit ratio, and write hit ratio of the MyISAM key buffer per second. Unit: %. |
| MySQL_MyISAMKeyReadWrites | Average reads from and writes to the MyISAM buffer pool per second, and average reads from and writes to disk by MyISAM per second. Unit: counts/s. |
| MySQL_COMDML | Average number of DELETE, INSERT, INSERT_SELECT, REPLACE, REPLACE_SELECT, SELECT, and UPDATE statements executed per second. Unit: counts/s. |
| MySQL_RowDML | Average rows read, updated, deleted, and inserted in InnoDB tables per second, and average physical writes to log files per second. Unit: row/s or count/s. |
| MySQL_MemCpuUsage | CPU utilization and memory usage of a non-serverless ApsaraDB RDS for MySQL instance at the operating system level. Unit: %. |
| MySQL_RCU_MemCpuUsage | CPU utilization and memory usage of a serverless ApsaraDB RDS for MySQL instance at the operating system level. Unit: %. |
| MySQL_IOPS | Input/output operations per second (IOPS) of the ApsaraDB RDS instance. Unit: counts/s. |
| MySQL_DetailedSpaceUsage | Disk space breakdown for the ApsaraDB RDS instance: total disk space, data files, log files, temporary files, and system files. Unit: MB. |
| slavestat | Replication delay to the read-only instance. Unit: seconds. |
| MySQL_ThreadStatus | Number of active threads and connected threads. Unit: counts. |
| MySQL_ReplicationDelay | Replication delay to the secondary instance. Unit: seconds. |
| MySQL_ReplicationThread | Status of the I/O thread and SQL thread. 1 indicates the thread is running normally; 0 indicates the thread is lost. |
| MySQL_ROW_LOCK | Maximum wait time for a row-level lock (ms), average wait time for row-level locks (ms), and total number of row-level lock waits. |
| MySQL_SelectScan | Number of full table scans performed on the ApsaraDB RDS instance. Unit: scans. |
| MySQL_MBPS | Read and write throughput per second. Unit: bytes/s. |
ApsaraDB RDS for SQL Server
Value of | Returned metric | Description |
| SQLServer_Transactions | Average number of transactions per second. Unit: counts/s. | |
| SQLServer_Sessions | Total number of connections. Unit: counts. | |
| SQLServer_BufferHit | Cache hit ratio. Unit: %. | |
| SQLServer_FullScans | Average number of full table scans per second. Unit: counts/s. | |
| SQLServer_SQLCompilations | Number of SQL statement compilations per second. Unit: counts/s. | |
| SQLServer_CheckPoint | Number of checkpoint writes to pages per second. Unit: counts/s. | |
| SQLServer_Logins | Number of logons per second. Unit: counts/s. | |
| SQLServer_LockTimeout | Number of lock timeouts per second. Unit: counts/s. | |
| SQLServer_Deadlock | Number of deadlocks per second. Unit: counts/s. | |
| SQLServer_LockWaits | Number of lock waits per second. Unit: counts/s. | |
| SQLServer_NetworkTraffic | Average inbound and outbound network traffic per second. Unit: KB/s. | |
| SQLServer_QPS | Average number of SQL statements executed per second. Unit: counts/s. | |
| SQLServer_InstanceCPUUsage | CPU utilization of the ApsaraDB RDS instance at the operating system level. Unit: %. | |
| SQLServer_IOPS | IOPS of the ApsaraDB RDS instance. Unit: counts/s. | |
| SQLServer_DetailedSpaceUsage | Disk usage of the ApsaraDB RDS instance. Unit: MB. |
ApsaraDB RDS for PostgreSQL
ApsaraDB RDS for PostgreSQL supports more fine-grained enhanced monitoring metrics in the ApsaraDB RDS console. For details, see View enhanced monitoring. The table below maps DescribeDBInstancePerformance parameter values to their corresponding enhanced monitoring metrics.
Value of | Returned metrics and descriptions | Corresponding enhanced monitoring metric |
| MemoryUsage | Memory usage. Unit: %. | os.mem_usage.total.avg |
| CpuUsage | CPU utilization. Unit: %. | os.cpu_usage.total.avg |
| PgSQL_SpaceUsage | Disk usage of the ApsaraDB RDS instance. Unit: bytes. | os.fs_size.wal_dir.avg + os.fs_size.base_dir.avg (Unit: MB) |
| PgSQL_IOPS | IOPS of the ApsaraDB RDS instance. Unit: counts/s. | (os.iops.data.avg + os.iops.wal.avg) / os.iops.total.avg × 100 |
| PgSQL_Session | Total number of connections. Unit: counts. | db.connections.total.avg |
| PolarDBConnections | Returns the following sub-metrics:
|
|
| PolarDBRowDML | Returns the following sub-metrics:
|
|
| PolarDBQPSTPS | Returns the following sub-metrics:
|
|
| PolarDBSwellTime | Point in time before which dead tuples can be recycled. Unit: seconds. | db.swell.swell_time.avg |
| PolarDBCPU | CPU utilization. |
|
| PolarDBMemory | Memory usage. | os.mem_usage.total.avg |
| PolarDBReplication | Returns the following sub-metrics:
| / |
| PolarDBLongSQL | Returns the following sub-metrics:
|
|
| PolarDBLongIdleTransaction | Returns the following sub-metrics:
|
|
| PolarDBLongTransaction | Returns the following sub-metrics:
|
|
| PolarDBLongTwoPCTransaction | Returns the following sub-metrics:
|
|
| PolarDBLocalIOSTAT | Returns the following sub-metrics:
|
|
| PolarDBLocalDiskUsage | Returns the following sub-metrics:
|
|