QuestionQ21

VerifiedTuning SQL Statements

You use SQL Tuning Advisor to tune a particular SQL statement.

The analysis ultimately results in implementing a SQL Profile.

You then generate the new SQL Profile plan and enforce it with a SQL Plan Baseline, but forget to disable the SQL Profile. A few days later, you discover that the SQL Profile is generating a new execution plan.

Which two statements are true?

Choose two
Explanation

SQL Plan Baselines reproduce specific accepted plans using outline hints, while SQL Profiles correct optimizer cost estimates rather than specifying a plan. An accepted SQL Plan Baseline plan is available to the optimizer and constrains the execution plan selection; a plan must be accepted before it can be used in the baseline.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!