When you use the database proxy feature for an ApsaraDB RDS for PostgreSQL instance, you can view the performance data of a database proxy at any time to check the loads on the database proxy, modify the number of database proxies, and configure the read weights read-only RDS instances.
Prerequisites
The database proxy feature is enabled. For more information, see Enable the database proxy feature.
Procedure
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the navigation pane on the left, click Database Proxy.
Click View Monitoring Data.
Specify a time range from which you want to query the monitoring data of the database proxy.
The following metrics are provided: CPU Utilization (%), Current Connections (Counts/s), Connection Rate (Counts/s), Request Rate (Counts/s), Inbound Traffic (Byte/s), and Outbound Traffic (B/s).
The monitoring frequency varies based on the time range that you specify for the query.
If the time range is less than or equal to 1 hour, the time granularity is 5 seconds.
If the time range is greater than 1 hour and less than or equal to 2 hours, the time granularity is 10 seconds.
If the time range is greater than 2 hours and less than or equal to 6 hours, the time granularity is 30 seconds.
If the time range is greater than 6 hours and less than or equal to 1 day, the time granularity is 2 minutes.
If the time range is greater than 1 day and less than or equal to 7 days, the time granularity is 30 minutes.
If the time range is greater than 7 days and less than or equal to 30 days, the time granularity is 1 hour.
Related operations
API | Description |
Queries the performance data of a database proxy. |