Loading Active SQL Statements Incrementally from the Cursor Cache
You can load active SQL statements from the cursor cache into the SQL tuning set incrementally over a specified period of time. This technique enables you to not only collect current and recent SQL statements stored in the SQL cache, but also SQL statements that run during a specified time period in the future.
To load active SQL statements incrementally from the cursor cache:
-
Access the Create SQL Tuning Set: Load Methods page, as explained in "Creating a SQL Tuning Set: Options".
-
Select Incrementally capture active SQL statements over a period of time from the cursor cache.
-
In the Duration field, specify how long to capture active SQL statements.
-
In the Frequency field, specify how often to capture active SQL statements during the specified duration.
-
Click Next.
The Create SQL Tuning Set: Filter Options page appears.
-
Proceed to the next step, as described in "Creating a SQL Tuning Set: Filter Options".