All Products
Search
Document Center

PolarDB:Session management

Last Updated:Apr 22, 2025

This topic describes the diagnosis feature provided by PolarDB for PostgreSQL (Compatible with Oracle). The diagnosis feature integrates with Database Autonomy Service (DAS) and allows you to use the session management feature to view the session statistics of an instance.

Procedure

  1. Log on to the PolarDB console. Click Clusters in the left-side navigation pane. Select a region in the upper-left corner and click the ID of the cluster in the list to go to the Basic Information page.

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

  3. Click the Session Management tab.

    Session Management

  4. On the Session Management page, you can view the Instance Sessions and Session Statistics sections.

    • Instance Sessions: provides information about exceptional sessions, active sessions, and CPU usage.Instance Sessions

      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: provides the total number of sessions, session runtime, and other session statistics collected based on different metrics. For example, the system calculates the number of sessions initiated by different users.Instance sessions