Identify the correct sequence of steps.

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.

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.

A.
2, 4, 5

B.
2, 1, 4, 3, 5

C.
1, 2, 3, 4, 5

D.
1, 2, 4, 5



Leave a Reply 12

Your email address will not be published. Required fields are marked *


Vonpire

Vonpire

Probably you are right.

But if you see the procedures described below they say to report the task before implementing it.

And In the link I provided in page 12/13 is this

Manual Plan Evolution
Alternatively, it is possible to evolve an unaccepted plan manually using Oracle Enterprise Manager or
the supplied package DBMS_SPM. From Oracle Database 12c onwards, the original SPM evolve function
(DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE) has been deprecated in favor of a new API that calls the
SPM evolve advisor. Figure 9 shows the steps needed to invoke the SPM evolve advisor. It is typically
a three step processes beginning with the creation of an evolve task. Each task is given a unique name,
which enables it to be executed multiple times. Once the task has been executed, you can review the
evolve report by supplying the TASK_ID and EXEC_ID to the DBMS_SPM.REPORT_EVOLVE_TASK
function.

Weird.

B it should be. But it’s very unlogical to accept a implementation withut first reviewing it. And Oracle documentation appears to contradict themselves in these two documents.

gsk

gsk

which one is correct?

gsk

gsk

Thanks steve and everyone

kamunias

kamunias

New question
Examine these parameters that are set for your Oracle 12c database instance:
OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE
OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE

Examine these 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 MINIMUN number of steps in the correct order to manually evolve SQL plans.

A. 2, 4, 5
B. 2, 1, 4, 3, 5
C. 1, 2, 3, 4, 5
D. 1, 2, 4, 5

A is correct