1Z0-062 · Question #231
What can be automatically implemented after the SQL Tuning Advisor is run as part of the Automated Maintenance Task?
The correct answer is B. SQL profile recommendations. When the SQL Tuning Advisor runs as an automated maintenance task, only SQL profile recommendations can be automatically implemented without manual DBA intervention.
Question
What can be automatically implemented after the SQL Tuning Advisor is run as part of the Automated Maintenance Task?
Options
- Astatistics recommendations
- BSQL profile recommendations
- CSQL statement restructure recommendations
- Dcreation of materialized views toimprove query performance
How the community answered
(32 responses)- A6% (2)
- B88% (28)
- C3% (1)
- D3% (1)
Why each option
When the SQL Tuning Advisor runs as an automated maintenance task, only SQL profile recommendations can be automatically implemented without manual DBA intervention.
Statistics recommendations from the SQL Tuning Advisor are not auto-implemented because gathering new optimizer statistics can alter execution plans for many other queries beyond the one being tuned, requiring DBA review.
SQL profiles are the only recommendation type that the automated SQL Tuning Advisor task is permitted to implement automatically, because a SQL profile stores auxiliary statistical corrections alongside the statement without altering the SQL text itself, making it a safe, non-invasive change. Oracle's automated task infrastructure calls DBMS_SQLTUNE.ACCEPT_SQL_PROFILE on qualifying recommendations where the profile produces a measurable performance improvement, typically three times better than the original plan.
SQL statement restructure recommendations involve rewriting the actual SQL text, which requires developer or DBA involvement and cannot be applied automatically by the maintenance task.
Recommendations to create materialized views for query performance come from the SQL Access Advisor, not the SQL Tuning Advisor, and always require explicit DBA approval and manual creation.
Concept tested: SQL Tuning Advisor automated maintenance task auto-implementation of SQL profiles
Source: https://docs.oracle.com/database/121/TGSQL/sql_tune_task.htm
Topics
Community Discussion
No community discussion yet for this question.