Previous |
Next |
You can load SQL statements captured in AWR snapshots. This is useful when you want to collect SQL statements for specific snapshot periods of interest that can be used for later comparison or tuning purposes.
To load SQL statements from AWR snapshots:
On the Create SQL Tuning Set: Load Methods page, select Load statements one time only.
In the Data Source list, select AWR Snapshots.
In the AWR Snapshots field, select the snapshots to include. Do one of the following:
Select either ALL or a time period such as Last 24 hours and then go to Step 5.
Only snapshots that are captured and stored in AWR in the specified time will be included.
Select Customize and then go to Step 4.
Only snapshots that are captured and stored in AWR during a customized time period that you specify will be included.
To select a customized time period of snapshots, complete the following steps:
Select Customize and then click Go.
The Select Time Period window opens.
For the starting snapshot, select Period Start Time and then click the snapshot icon below the Active Session graph that corresponds to the desired start time.
For the ending snapshot, select Period End Time and then click the snapshot icon below the Active Session graph that corresponds to the desired end time.
Click Select.
Click Next.
The Create SQL Tuning Set: Filter Options page is shown.
Proceed to the next step, as described in "Creating a SQL Tuning Set: Filter Options".