QuestionQ38

VerifiedTuning SQL Statements

Which two statements about cursor sharing are true?

Choose two
Explanation

With CURSOR_SHARING=FORCE, Oracle replaces literals with system-generated bind variables, so statements that become identical can share one plan even when that plan is inefficient for other bound values. Adaptive Cursor Sharing is independent of the CURSOR_SHARING setting and can create different plans for bind-sensitive equality or range predicates. A histogram on a skewed filtered column lets the optimizer recognize materially different selectivities for different bind values, enabling those different plans.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!