nerdexam
Oracle

1Z0-060 · Question #48

Which three statements are true about adaptive SQL plan management?

The correct answer is A. It automatically performs verification or evolves non-accepted plans, in COMPREHENSIVE mode when D. The non-accepted plans are automatically accepted and become usable by the optimizer if they perform E. The non-accepted plans in a SQL plan baseline are automatically evolved, in COMPREHENSIVE mode. With adaptive SQL plan management, DBAs no longer have to manually run the verification or evolve process for non-accepted plans. When automatic SQL tuning is in COMPREHENSIVE mode, it runs a verification or evolve process for all SQL statements that have non-accepted plans…

New Features for Performance

Question

Which three statements are true about adaptive SQL plan management?

Options

  • AIt automatically performs verification or evolves non-accepted plans, in COMPREHENSIVE mode when
  • BThe optimizer always uses the fixed plan, if the fixed plan exists in the plan baseline.
  • CIt adds new, bettor plans automatically as fixed plans to the baseline.
  • DThe non-accepted plans are automatically accepted and become usable by the optimizer if they perform
  • EThe non-accepted plans in a SQL plan baseline are automatically evolved, in COMPREHENSIVE mode,

How the community answered

(37 responses)
  • A
    68% (25)
  • B
    22% (8)
  • C
    11% (4)

Explanation

With adaptive SQL plan management, DBAs no longer have to manually run the verification or evolve process for non-accepted plans. When automatic SQL tuning is in COMPREHENSIVE mode, it runs a verification or evolve process for all SQL statements that have non-accepted plans during the nightly maintenance window. If the non-accepted plan performs better than the existing accepted plan (or plans) in the SQL plan baseline, then the plan is automatically accepted and becomes usable by the optimizer. After the verification is complete, a persistent report is generated detailing how the non-accepted plan performs compared to the accepted plan performance. Because the evolve process is now an AUTOTASK, DBAs can also schedule their own evolve job at end time. *The optimizer is able to adapt plans on the fly by predetermining multiple subplans for portions of *Adaptive plans, introduced in Oracle Database 12c, enable the optimizer to defer the final plan decisionfor a statement until execution time. The optimizer instruments its chosen plan (the default plan) withstatistics collectors so that it can detect at runtime, if its cardinality estimates differ greatly from theactual number of rows seen by the operations in the plan. If there is a significant difference, then theplan or a portion of it will be automatically adapted to avoid suboptimal performance on the firstexecution of a SQL statement.

Topics

#SQL plan management#adaptive plans#plan baseline#COMPREHENSIVE mode

Community Discussion

No community discussion yet for this question.

Full 1Z0-060 Practice