denrepo

OracleASH & AWR

Take an AWR snapshot now

Takes a manual snapshot so an AWR report can cover exactly the window of a test or a batch run. Take one before and one after.

Changes dataDiagnostics Pack

Not yet verified. How scripts are tested

This script changes the database. Check the names and values before you run it.
ora-awr-snap-now.sql
1EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT;

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

Open in denrepo

More Oracle scripts: ASH & AWR