Oracle SQL Tuning Sets
Oracle SQL Tuning Sets
A SQL Tuning Set is a database object that includes one or more SQL statements and
their execution statistics and context. You can use the set as an input for advisors such
as SQL Tuning Advisor, SQL Access Advisor, and SQL Performance Analyzer. You can
load SQL statements into a SQL Tuning Set from different SQL sources, such as AWR,
the cursor cache, or high-load SQL statements that you identify.
SQL statements can be filtered using the application module name and action, or any of
the execution statistics. In addition, SQL statements can be ranked based on any
combination of execution statistics.
SQL Tuning Sets are transportable, enabling SQL workloads to be transferred between
databases for remote performance diagnostics and tuning. When high-load SQL
statements are identified on a production system, it may not be desirable to perform
investigation and tuning activities directly on this system. This feature enables you to
transport the high-load SQL statements to a test system, where they can be safely
analyzed and tuned.