nerdexam
Oracle

1Z0-062 · Question #95

Which three functions are performed by the SQL Tuning Advisor? (Choose three.)

The correct answer is A. Building the SQL profile C. Checking query objects for missing and stale statistics E. Recommending restructuring SQL queries that are using bad 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

Managing Performance

Question

Which three functions are performed by the SQL Tuning Advisor? (Choose three.)

Options

  • ABuilding the SQL profile
  • BRecommending optimization of materialized views
  • CChecking query objects for missing and stale statistics
  • DRecommending bitmap, function-based, and B-tree indexes
  • ERecommending restructuring SQL queries that are using bad plans

How the community answered

(39 responses)
  • A
    87% (34)
  • B
    5% (2)
  • D
    8% (3)

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.

Topics

#SQL Tuning Advisor#SQL profile#statistics#query optimization

Community Discussion

No community discussion yet for this question.

Full 1Z0-062 Practice