denrepo

OracleASH & AWR

Generate AWR, ASH, ADDM and SQL reports

Oracle's own report scripts. Each one prompts for the format, snapshot range and file name, then writes the report to your current directory.

Diagnostics PackInteractive

Not yet verified. How scripts are tested

ora-awr-reports.sql
1-- Whole-database AWR report (text or HTML)2@?/rdbms/admin/awrrpt.sql3 4-- AWR report for one SQL_ID5@?/rdbms/admin/awrsqrpt.sql6 7-- Compare two periods8@?/rdbms/admin/awrddrpt.sql9 10-- ASH report for a time window11@?/rdbms/admin/ashrpt.sql12 13-- ADDM findings for a snapshot range14@?/rdbms/admin/addmrpt.sql15 16-- RAC: global AWR report across all instances17@?/rdbms/admin/awrgrpt.sql

Save it as ora-awr-reports.sql and run it with SQL> @ora-awr-reports.

Open in denrepo

More Oracle scripts: ASH & AWR