Which two steps do you perform to ensure that the optimizer uses the second plan

View the Exhibit and examine the plans in the SQL plan baseline.You observe that the last two SELECT statements (outlined in red and blue) are identical, but have two different plans. Also, the second plan (in blue) is not being used by the optimizer.
Which two steps do you perform to ensure that the optimizer uses the second plan (in blue) if the plan is more efficient? (Choose two.)
Exhibit:

View the Exhibit and examine the plans in the SQL plan baseline.

You observe that the last two SELECT statements (outlined in red and blue) are identical, but have two different plans. Also, the second plan (in blue) is not being used by the optimizer.

Which two steps do you perform to ensure that the optimizer uses the second plan (in blue) if the plan is more efficient? (Choose two.)

A.
Mark the second plan (in blue) as fixed.

B.
Use SQL Tuning Advisor to tune the plan.

C.
Use SQL Access Advisor to tune the plan.

D.
Use the DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE function to evolve the plan.



Leave a Reply 0

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