nerdexam
Oracle

1Z0-064 · Question #52

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…

The correct answer is 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 C. Create an SQL Tuning Set (STS) and run it through the SQL Access Advisor to generate. See the full explanation below for the reasoning.

Question

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.)

Exhibit

1Z0-064 question #52 exhibit

Options

  • AGather statistics for the objects used in the queries.
  • BUse the DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE function to evolve new plans and fix the
  • CCreate an SQL Tuning Set (STS) and run it through the SQL Access Advisor to generate
  • DCreate an STS and run it through the SQL Tuning Advisor to generate recommendations.
  • ESet the OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES parameter to TRUE.
  • FUse the DBMS_SPM.ALTER_SQL_PLAN_BASELINE function to alter the accepted plans as

How the community answered

(30 responses)
  • A
    77% (23)
  • D
    3% (1)
  • E
    13% (4)
  • F
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-064 Practice