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 ...
Get Oracle Database 11gR2 Performance Tuning Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.