Database Autonomy Service (DAS) provides the session management feature for ApsaraDB RDS for PostgreSQL. You can use this feature to view and export the statistics of the sessions on your ApsaraDB RDS for PostgreSQL instance. You can also use this feature to terminate the sessions on your RDS instance. This topic describes how to use the session management feature.
Prerequisites
Your RDS instance runs RDS High-availability Edition.
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 left-side navigation pane, choose Autonomy Services > Diagnostics.
On the page that appears, click the Session Management tab.
On the Session Management tab, perform the following operations in the Instance Sessions and Session Statistics sections based on your business requirements:
Terminate sessions.
View information such as exceptional sessions, active sessions, the longest execution duration, and CPU utilization.
View summary information and session statistics by user, access source, or database. The summary information includes the total number of sessions, the total number of running sessions, and the longest session duration.
Export summary information and session statistics by user, access source, or database.