What impact would it have on the goal of the optimizer for that session?

A user in a session executed the following SQL statement to set the optimizer mode:
ALTER SESSION SET OPTIMIZER_MODE = ALL_ROWS
What impact would it have on the goal of the optimizer for that session? (Choose all that apply.)

A user in a session executed the following SQL statement to set the optimizer mode:
ALTER SESSION SET OPTIMIZER_MODE = ALL_ROWS
What impact would it have on the goal of the optimizer for that session? (Choose all that apply.)

A.
Statement level OPTIMIZER_MODE hints take precedence over the session-level setting.

B.
The OPTIMIZER_MODE parameter set at instance level takes precedence over the sessionlevel value.

C.
The optimizer uses a cost-based approach, regardless of the presence of statistics; it optimizes
with a goal of best response time.

D.
The optimizer uses a cost-based approach for all SQL statements in the session, regardless of
the presence of statistics; it optimizes with a goal of best throughput.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


L. Zhu

L. Zhu

A is right.
B is wrong. session value takes precedence over instance level
C is wrong. ALL_ROWS goal is throughput
D is right.

So A.D. are correct