Real-time SQL Activity

View Real-time SQL Data from ASH Analytics

  1. On the Performance Hub page, click ASH Analytics to display the ASH Analytics tab, if not already open.

  2. Scroll down to the table containing the list of SQL queries.

  3. Click an ID number in the SQL ID column to display detailed information about a specific SQL statement. It opens the Performance Hub SQL Details page.

    The Performance Hub SQL Details page contains the following tabs:
    • Summary - shows the overall information about the SQL statement and the SQL plans.

    • ASH Analytics - shows the active sessions and two tables. The default information shown for the SQL query is Wait Class and User Session. You can click the menu containing the Wait Class option and select a specific parameter and subparameter to display the associated SQL data. Click a session in the User Session column to display the SQL activity during the selected user session.

    • Execution Statistics - shows the SQL statement execution in Tabular Execution Plan or Graphical Explain Plan.

      For more information, see Graphical Explain Plan.

    • SQL Monitoring - displays SQL data for the selected SQL statement. Click an SQL ID to display detailed data about the SQL statement. Depending on the database selected, the Details section includes Plan Statistics, Parallel, SQL Text, and Activity tabs.

      In the Details section of the page:

      • Click Plan Statistics to view the Tabular Execution Plan and Graphical Explain Plan.

        For more information, see Graphical Explain Plan.

      • Click Parallel to view the Parallel Server and the Instances and Parallel Groups it contains.

      • Click SQL Text to view the text of the active SQL query.

      • Click Activity to view the active sessions of the database that is selected. Use the menu on the Details page to view either the Active Sessions Resource Type or Plan Line of the selected SQL operation.

  4. Click the Back arrow at the top-left corner of the page to go back to the ASH Analytics tab.

View Real-time SQL Data from SQL Monitoring

  1. On the Performance Hub page, click SQL Monitoring to display the SQL monitoring tab.

  2. In the SQL ID column, click an ID to display detailed information about the specific SQL statement execution.

    This action displays the Performance Hub Real-time SQL Monitoring page.

  3. Scroll down to display the SQL activities.

    Depending on the database selected, the Details section includes Plan Statistics, Parallel, SQL Text, and Activity tabs.

    In the Details section of the page:

    • Click Plan Statistics to view the Tabular Execution Plan and Graphical Explain Plan.

      For more information, see Graphical Explain Plan.

    • Click Parallel to view the Parallel Server and the Instances and Parallel Groups it contains.

    • Click SQL Text to view the text of the active SQL query.

    • Click Activity to view the active sessions of the database that is selected.

      Use the menu on the details page to view either the Active Sessions Resource Type or Plan Line of the selected SQL operation.

  4. Click the Back arrow at the top-left corner of the page to go back to the SQL Monitoring tab.