1Z0-062 · Question #311
1Z0-062 Question #311: Real Exam Question with Answer & Explanation
The correct answer is B: recommending restructuring of SQL statements that have suboptimal plans. Automatic SQL tuning is exposed through SQL Tuning Advisor. SQL Tuning Advisor runs automatically during system maintenance windows as a maintenance task. During each automatic run, the advisor selects high-load SQL queries in the database and generates recommendations for tuning
Question
Options
- Arecommending creation of indexes based on SQL workload
- Brecommending restructuring of SQL statements that have suboptimal plans
- Cchecking schema objects for missing and state statistics
- Drecommending optimization of materialized views
- Egenerating SQL profiles
Explanation
Automatic SQL tuning is exposed through SQL Tuning Advisor. SQL Tuning Advisor runs automatically during system maintenance windows as a maintenance task. During each automatic run, the advisor selects high-load SQL queries in the database and generates recommendations for tuning these queries. SQL Tuning Advisor recommendations fall into the following categories: Statistics analysis Access path analysis SQL structure analysis A SQL profile contains additional statistics specific to a SQL statement and enables the optimizer to generate a better execution plan. Essentially, a SQL profile is a method for analyzing a query. Both access path and SQL structure analysis are useful for tuning an application under development or a homegrown production application. A principal benefit of SQL Tuning Advisor is that solutions come from the optimizer rather than external tools (see "Overview of the Optimizer"). Thus, tuning is performed by the database component that is responsible for the execution plans and SQL performance. The tuning process can consider past execution statistics of a SQL statement and customizes the optimizer settings for this statement.
Community Discussion
No community discussion yet for this question.