All Products
Search
Document Center

PolarDB:Session management

Last Updated:Feb 27, 2026

Session management allows you to view the session statistics of an instance, identify exceptional sessions, and terminate them from the console. This feature is integrated with Database Autonomy Service (DAS) and is available for PolarDB for PostgreSQL (Compatible with Oracle) clusters.

View and manage sessions

To view session data and terminate problematic sessions:

  1. Log on to the PolarDB console.

  2. In the left-side navigation pane, click Clusters.

  3. In the upper-left corner, select the region where your cluster is deployed.

  4. Click the cluster ID to go to the Basic Information page.

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

  6. Click the Session Management tab. Session Management The Session Management page displays two sections: Instance Sessions and Session Statistics.

Instance Sessions

The Instance Sessions section displays session data for the selected instance, including:

MetricDescription
Exceptional sessionsSessions that may be causing issues during SQL request execution
Active sessionsSessions currently running operations
CPU usageCurrent CPU utilization of the instance
Instance Sessions

To terminate an exceptional session, select the session and click Kill Selected.

Note

When you execute an SQL request, an exceptional session may occur. You can select the exceptional session and click Kill Selected to handle the exception.

Session Statistics

The Session Statistics section provides aggregated session metrics, including:

  • Total number of sessions

  • Session runtime

  • Breakdowns by different metrics, such as the number of sessions per user

Use these statistics to identify patterns, such as a single user consuming a disproportionate number of sessions.

Session Statistics