DBMS_SQLTUNE
This package provides an interface to tune SQL statements.
Procedures
The most relevant procedures related to the SQL tuning set are:
CREATE_SQLSET
: creates a SQL tuning set object in the databaseDROP_SQLSET
: drops a SQL tuning set if not activeSELECT_SQLSET
: collects SQL statements from an existing SQL tuning setLOAD_SQLSET
: populates the SQL tuning set with a set of selected SQL statementsSELECT_CURSOR_CACHE
: collects SQL statements from the cursor cache
The most relevant procedures to manage SQL tuning tasks are:
CREATE_TUNING_TASK
: creates a tuning of a single statement or tuning setEXECUTE_TUNING_TASK
: executes a previously created tuning taskREPORT_TUNING_TASK
: displays the results of a tuning taskINTERRUPT_TUNING_TASK
: interrupts the currently executing tuning taskRESUME_TUNING_TASK
: resumes a previously interrupted tuning task