Oracle Database 12c: Advanced Administration — Question 162
The following parameters are set for your Oracle 12c database instance:
OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE
You want to manage the SQL plan evolution task manually. Examine the following steps:
1.Set the evolve task parameters.
2.Create the evolve task by using the DBMS_SPM.CREATE_EVOVLE_TASK function.
3.Implement the recommendations in the task by using the DBMS_SPM.IMPLEMENT_EVOLVE_TASK function.
4.Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function.
5.Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function.
Identify the correct sequence of steps.
Answer options
- A. 2, 4, 5
- B. 2, 1, 4, 3, 5
- C. 1, 2, 3, 4, 5
- D. 1, 2, 4, 5
Correct answer: B
Explanation
The correct sequence is B, as it begins with setting the necessary parameters, followed by creating the evolve task, executing it, implementing the recommendations, and finally reporting the outcome. Options A, C, and D do not follow the correct flow required for managing the SQL plan evolution task, particularly in how the implementation and execution steps are ordered.