# Real-Time Sessions

#### Scenarios

View the running duration and status of SQL statements online to detect and handle abnormal processes in a timely manner to ensure that databases run smoothly.

#### Procedure

1. On the top menu bar, choose Intelligent O&M > Real-Time Sessions.
2. On the displayed page, view the total sessions, running sessions, and slow sessions.

   - Define slow SQL threshold

     Set a slow session threshold and click the refreshing button to filter the slow sessions that exceed this threshold.

Parent topic: Intelligent O&M