You are administering a database that supports a mixed workload. You upgrade your database from Oracle
Database 11g to 12c and after the upgrade, users complain about degraded performance of some queries. The
SQL plan baselines imported from the previous version are present for the queries and are loaded to the SQL
Management Base as accepted plans. On further investigation, you find that better plans are generated but not
used by the optimizer.
Examine the parameters set for the instance:
Which three tasks would you perform to improve the performance of these queries? (Choose three.)
A.
Gather statistics for the objects used in the queries.
B.
Use the DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE function to evolve new plans and fix the plans for the
statements.
C.
Create an SQL Tuning Set (STS) and run it through the SQL Access Advisor to generate recommendations.
D.
Create an STS and run it through the SQL Tuning Advisor to generate recommendations.
E.
Set the OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES parameter to TRUE.
F.
Use the DBMS_SPM.ALTER_SQL_PLAN_BASELINE function to alter the accepted plans as fixed plans.