Database Autonomy Service (DAS) provides real-time monitoring for ApsaraDB RDS for PostgreSQL instances. Use this feature when you need an immediate view of instance performance — for example, to catch a sudden spike in connections or a drop in cache hit ratio before it impacts users.
Prerequisites
Before you begin, make sure that you have:
An RDS instance running RDS High-availability Edition
Available metrics
The Real-time Monitoring page provides two views:
| View | Description |
|---|---|
| Real-time Charts | Trend charts for key performance metrics, updated every 5 seconds |
| Real-time Tables | Current values of all performance metrics, updated every 5 seconds |
Real-time Charts tracks the following metrics:
| Metric | Description |
|---|---|
| Connections | Number of connections to the instance |
| Transactions per second (TPS) | Rate of committed transactions |
| Rows affected | Number of rows on which operations are performed |
| Rows read and returned | Number of rows read and returned by queries |
| Cache reads per second | Rate of cache read operations |
| Cache hit ratio | Percentage of reads served from cache |
| Temporary files | Number of temporary files created |
| Temporary file size | Amount of data in temporary files |
To view a description of each metric, click Metric Description in the upper-left corner of the page.
View real-time monitoring data
Go to the Instances page. In the top navigation bar, select the region where your instance resides, then click the instance ID.
In the left-side navigation pane, choose Autonomy Service > Diagnostics.
Click the Real-time Monitoring tab.
Click Real-time Charts or Real-time Tables to view the metrics you need.