Database Autonomy Service (DAS) provides session management for ApsaraDB RDS for PostgreSQL instances. Use this feature to monitor active sessions, identify problematic connections, export session statistics, and terminate sessions directly from the console.
Prerequisites
Before you begin, ensure that you have:
An ApsaraDB RDS for PostgreSQL instance running RDS High-availability Edition
View and manage sessions
Log on to the ApsaraDB RDS console. In the top navigation bar, select the region where your instance resides. Find the instance and click its ID.
In the left-side navigation pane, choose Autonomy Services > Diagnostics.
Click the Session Management tab.
In the Instance Sessions and Session Statistics sections, perform the following operations based on your needs:
Terminate sessions. Select one or more sessions and terminate them.
View session metrics. Check the number of exceptional sessions and active sessions, the longest execution duration, and current CPU utilization.
View session statistics by dimension. Switch between the User, Access source, and Database groupings to see the total number of sessions, the number of running sessions, and the longest session duration for each group.
Export session statistics. Export the summary and per-dimension statistics for offline analysis or incident reporting.
