nerdexam
Oracle

1Z0-054 · Question #2

View the Exhibit exhibit1 to examine the series of SQL commands and parameter settings. View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The first plan (in red) is…

The correct answer is B. the first plan, 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 and parameter settings. View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The first plan (in red) is created when OPTIMIZER_MODE is set to ALL_ROWS and the second plan (in blue) is created when OPTIMIZER_MODE is set to FIRST_ROWS. Which SQL plan baseline would be used if the SQL query in exhibit1 is executed again when the value of OPTIMIZER_MODE is set to FIRST_ROWS?

Exhibits

1Z0-054 question #2 exhibit 1
1Z0-054 question #2 exhibit 2

Options

  • Athe second plan, because it is a fixed plan
  • Bthe first plan, because it is an accepted plan
  • Cthe second plan, because it is the latest generated plan in FIRST_ROW mode
  • DA new plan, because the second plan in FIRST_ROW mode is not an accepted plan

How the community answered

(49 responses)
  • A
    6% (3)
  • B
    78% (38)
  • C
    4% (2)
  • D
    12% (6)

Community Discussion

No community discussion yet for this question.

Full 1Z0-054 Practice