All Products
Search
Document Center

PolarDB:Session management

Last Updated:Jun 03, 2026

The Quick Diagnostics feature for and integrates Database Autonomy Service (DAS) capabilities. Use session management to view session statistics for your cluster.

Procedure

  1. Log on to the PolarDB console. In the left-side navigation pane, click Clusters. Select the region where your cluster is located, and then click the target cluster ID to open the cluster details page.

  2. In the left-side navigation pane, choose Diagnostics and Optimization > Quick Diagnostics.

  3. Click the Sessions tab.

  4. On the Sessions page, view Instance Sessions and Session Statistics.

    • Instance Sessions: Shows current session information, including exceptions, active sessions, and CPU utilization.

      The toolbar includes Refresh, Active Sessions toggle, auto-refresh settings, Search Sessions, and Kill All Sessions. Summary cards show exception count, active sessions, max execution time, and CPU utilization. The session table lists each session's PID, client, database, user, connection time, query duration, and current SQL statement.

      Note

      To terminate an exceptional session during an SQL request, select it and click Kill Selected.

    • Session Statistics: Shows total number of sessions, total number of running sessions, and longest session runtime, with session counts aggregated by different criteria. The page is divided into four sections: Overview, By User, By Source, and By Database, each displaying the number of active and total sessions.