exam questions

Exam 1z0-053 All Questions

View all questions & answers for the 1z0-053 exam

Exam 1z0-053 topic 15 question 63 discussion

Actual exam question from Oracle's 1z0-053
Question #: 63
Topic #: 15
[All 1z0-053 Questions]

You run the SQL Tuning Advisor (STA) to tune a SQL statement that is part of a fixed SQL plan baseline. The STA generates a SQL profile for the SQL statement, which recommends that you accept the profile.
Which statement is true when you accept the suggested SQL profile?

  • A. The tuned plan is not added to the SQL plan baseline.
  • B. The tuned plan is added to the fixed SQL plan baseline as a fixed plan.
  • C. The tuned plan is added to the fixed SQL plan baseline as a nonfixed plan.
  • D. The tuned plan is added to a new nonfixed SQL plan baseline as a nonfixed plan.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
15.4 Using Fixed SQL Plan Baselines
When you tune a SQL statement with a fixed SQL plan baseline using SQL Tuning Advisor, a SQL profile recommendation has special meaning. When the SQL profile is accepted, the database adds the tuned plan to the fixed SQL plan baseline as a non-fixed plan. However, as described above, the optimizer does not use the tuned plan when a reproducible fixed plan is present. Therefore, the benefit of SQL tuning may not be realized. To enable the use of the tuned plan, manually alter the tuned plan to a fixed plan by setting its FIXED attribute to YES.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...