Files
doc-exports/docs/rds/umn/rds_pg_08_0026.html
wangdengke2 64672e58fb rds_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2025-09-19 08:45:25 +00:00

3.7 KiB

Managing Real-Time Sessions

Scenarios

You can query session snapshots of your instance while sorting, filtering, and displaying the snapshots as needed. You can also view session statistics by user, source, and database. Sessions can be killed for urgent instance recovery to ensure database availability.

Precautions

Killing a session may cause the application to disconnect from the instance. Your application should be able to reconnect to the instance.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instances page, click the target instance name.
  5. In the navigation pane, choose DBA Assistant > Real-Time Diagnosis.
  6. Click the Sessions tab. You can perform the following operations on this tab page:

    • Viewing session statistics

      In the session statistics area, you can view the session summary and session statistics by user, source, and database.

    • Killing abnormal sessions

      In the session list, select the abnormal session you want to end and click Kill Session to recover the database.

    • Exporting the session list

      To export the session list, click above it.