Your browser does not support JavaScript. This help page requires JavaScript to render correctly.
Skip Headers
Previous
Previous
 
Next
Next

Monitoring Top SQL

On the Active Sessions Working page, the Top Working SQL table shows the database activity for actively running SQL statements that are consuming CPU resources. The Activity (%) column shows the percentage of this activity consumed by each SQL statement. If one or several SQL statements are consuming a majority of the activity, then you should investigate them.

To monitor the top working SQL statements: 

  1. On the Performance page, in the Average Active Sessions chart, click the CPU block on the chart or its corresponding wait class in the legend.

    The Active Sessions Working page appears.

  2. In the Top Working SQL table, click the SQL ID link of the most active SQL statement.

    The SQL Details page appears.

    For SQL statements that are using the majority of the wait time, use SQL Tuning Advisor or create a SQL Tuning Set to tune the problematic SQL statements.

Related Topics

Viewing Details of SQL Statements

Tuning SQL Statements Using SQL Tuning Advisor

Monitoring User Activity