1Z0-117 · Question #88
You want to run SQL Tuning Advisor statements that are not captured by ADDM, AWR, and are not in the library cache. What is the prerequisite?
The correct answer is C. Create a SQL Tuning Set (STS) containing the SQL statements. You can use an STS as input to SQL Tuning Advisor, which performs automatic tuning of the SQL statements based on other user-specified input parameters. A SQL tuning set (STS) is a database object that includes one or more SQL statements along with their execution statistics…
Question
You want to run SQL Tuning Advisor statements that are not captured by ADDM, AWR, and are not in the library cache. What is the prerequisite?
Options
- AEnable SQL plan management
- BCreate a SQL plan baseline for each query
- CCreate a SQL Tuning Set (STS) containing the SQL statements
- DGather statistics for objects used in the application
How the community answered
(22 responses)- A5% (1)
- B14% (3)
- C73% (16)
- D9% (2)
Explanation
You can use an STS as input to SQL Tuning Advisor, which performs automatic tuning of the SQL statements based on other user-specified input parameters. A SQL tuning set (STS) is a database object that includes one or more SQL statements along with their execution statistics and execution context, and could include a user priority ranking. You can load SQL statements into a SQL tuning set from different SQL sources, such as AWR, the shared SQL area, or customized SQL provided by the user. An STS includes: A set of SQL statements Associated execution context, such as user schema, application module name and action, list of bind values, and the cursor compilation environment Associated basic execution statistics, such as elapsed time, CPU time, buffer gets, disk reads, rows processed, cursor fetches, the number of executions, the number of complete executions, optimizer cost, and the command type Associated execution plans and row source statistics for each SQL statement (optional).
Topics
Community Discussion
No community discussion yet for this question.