Oracle
1Z0-050 · Question #5
View the Exhibit exhibit1 to examine the series of SQL commands. View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The baseline in the first row of the Exhibit is…
The correct answer is B. The optimizer uses the plan in the second row of the exhibit2 because it is an accepted plan. See the full explanation below for the reasoning.
Question
View the Exhibit exhibit1 to examine the series of SQL commands. View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The baseline in the first row of the Exhibit is created when OPTIMIZER_MODE was set to FIRST_ROWS. Which statement is true if the SQL query in exhibit1 is executed again when the value of OPTIMIZER_MODE is set to FIRST_ROWS?
Exhibit
Options
- AThe optimizer uses a new plan because none of the plans in the exhibit2 are fixed plans.
- BThe optimizer uses the plan in the second row of the exhibit2 because it is an accepted plan.
- CThe optimizer uses the plan in the first row of the exhibit2 because it is the latest generated plan.
- DThe optimizer uses the plan in the first row of the exhibit2 because OPTIMIZER_MODE was set to
How the community answered
(56 responses)- A7% (4)
- B71% (40)
- C5% (3)
- D16% (9)
Community Discussion
No community discussion yet for this question.
