Performance Reports

SQL Developer for VS Code provides the following performance reports under the DBA node for reviewing database activity and workload information.

Active Session History (ASH) Report

Use ASH Report to analyze active session activity for a selected time period.

Grant the following privileges to the database user that opens the report.

Perform the following steps to view an ASH report:

  1. In the Connections panel, expand your database connection tree.

  2. Expand DBA, and then expand Performance.

  3. Select ASH Report.

    The ASH Report page opens.

  4. In the Period field, select the report period.

    You can select a predefined period, such as Last 5 Minutes, Last 10 Minutes, Last 30 Minutes, or Last 60 Minutes. To specify a custom period, select Specified, and then enter values in the From and To fields.

  5. Optionally, apply a filter in the Filters section.

    In the Filter By field, select one of the available filter types: Action, Client, Module, SQL, Service, Session, Wait Class.

  6. In the Value field, select or enter the filter value.

  7. Click Run.

    The ASH report is generated and displayed in the report viewer.

  8. Review the report output.

    The report includes information about the selected database activity for the specified period, such as database details, sample time, data source, elapsed time, active session information, and related activity details.

  9. Click Save to save the generated report, if required.


    Description of dba_ash_report.png follows

    Description of the illustration dba_ash_report.png

Automatic Workload Repository (AWR) Report

Use AWR Report to review database workload information between two Automatic Workload Repository snapshots.

Grant the following privileges to the database user that opens the report.

Perform the following steps to view an AWR report:

  1. In the Connections panel, expand your database connection tree.

  2. Expand DBA, and then expand Performance.

  3. Select AWR Report.

    The AWR Report page opens.

  4. In the Start ID field, select the starting snapshot.

    The snapshot list displays available snapshot information, such as snapshot ID, start interval time, and end interval time.

  5. In the End ID field, select the ending snapshot.

  6. Click Run.

    The AWR report is generated and displayed in the report viewer.

  7. Review the report output.

    The report includes database workload and performance information for the selected snapshot range.

  8. Click Save to save the generated report, if required.


    Description of dba_awr_report.png follows

    Description of the illustration dba_awr_report.png