Page 1 of 1

Examine the parameter for your database instance:You generated the execution plan for the following query in the plan ta

Posted: Sun Jun 11, 2023 3:51 pm
by answerhappygod
Examine the parameter for your database instance:You generated the execution plan for the following query in the plan table and noticed that the nested loop join was done. After actual execution of the query, you notice that the hash join was done in the execution plan:Identify the reason why the optimizer chose different execution plans.
Examine The Par 1
Examine The Par 1 (17.54 KiB) Viewed 327 times
Examine The Par 2
Examine The Par 2 (14.19 KiB) Viewed 327 times
A. The optimizer used a dynamic plan for the query.
B. The optimizer chose different plans because automatic dynamic sampling was enabled.
C. The optimizer used re-optimization cardinality feedback for the query.
D. The optimizer chose different plan because extended statistics were created for the columns used.