Real-Time Sessions

Procedure

  1. Log in to the DAS console using your username and password.
  2. On the Overview page, click Go to CloudDBA.
  3. Locate your required instance card and click Details to go to the CloudDBA overview page.
  4. Choose Sessions > Real-Time Sessions to view the real-time session statistics collected by user, host, and database.

    Figure 1 Real-time sessions

  5. On the Sessions tab page, select the abnormal sessions you want to end and click Kill for the databases to recover.

    Figure 2 Killing sessions

    On the Slow Sessions tab page, set the slow SQL threshold and click the refreshing button or enable Auto Refresh to single out the SQL statements whose execution time exceeds the threshold. Select the sessions you want to end and click Kill for the databases to recover.

    Figure 3 Defining slow SQL threshold