QuestionQ190

VerifiedManaging Schema Objects

The following parameters are configured 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 these steps:

  1. Set the evolve-task parameters.
  2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function.
  3. Implement the task recommendations 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:

Explanation

DBMS_SPM.CREATE_EVOLVE_TASK creates the evolve task, after which its parameters can be configured with SET_EVOLVE_TASK_PARAMETER. EXECUTE_EVOLVE_TASK generates recommendations; IMPLEMENT_EVOLVE_TASK applies the recommended actions; and REPORT_EVOLVE_TASK displays the outcome. Oracle documents this workflow as create, optionally set parameters, execute, implement, and report.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!