forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
4.1 KiB
4.1 KiB
Managing Real-Time Sessions
Scenarios
You can view current session statistics of your instance and kill abnormal sessions.
Constraints
Killing a session may cause the application to disconnect from the instance. Your application should be able to reconnect to the instance.
Setting a Slow Session Threshold
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Click
in the upper left corner of the page and choose Databases > TaurusDB. - On the Instances page, click the instance name.
- In the navigation pane, choose DBA Assistant > Real-Time Diagnosis.
- Click the Sessions tab to view current session statistics by user, access host, and database.
- In the session list, select the abnormal session you want to kill and click Kill Session to recover the database.
A maximum of 20 sessions can be killed at once.
To kill sessions automatically, see Using Auto Kill Sessions.
Parent topic: Problem Diagnosis