exam questions

Exam 1z0-084 All Questions

View all questions & answers for the 1z0-084 exam

Exam 1z0-084 topic 1 question 18 discussion

Actual exam question from Oracle's 1z0-084
Question #: 18
Topic #: 1
[All 1z0-084 Questions]

Which two statements are true about cursor sharing? (Choose two.)

  • A. Setting cursor_sharing to FORCE can result in a plan that is suboptimal for the majority of values bound to a bind variable when executing a cursor with one or more bind variables.
  • B. Adaptive Cursor Sharing guarantees that a suboptimal plan will never be used on any execution of a SQL statement.
  • C. Setting optimizer_capture_sql_plan_baselines to TRUE loads all adaptive plans for the same statement into the cursor cache.
  • D. Setting cursor_sharing to EXACT prevents Adaptive Cursor Sharing from being used.
  • E. Adaptive Cursor Sharing requires histograms on filtered columns, used in equality predicates, to allow different execution plans to be generated for statements whose bound values would normally generate different plans at hard parse time.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
217972f
2 weeks, 1 day ago
Selected Answer: AE
A is true because of skewed values in column E is true because histograms are required for adaptive curso sharing look at: https://docs.oracle.com/en/database/oracle/oracle-database/18/tgsql/improving-rwp-cursor-sharing.html#GUID-277432AA-CD1C-4A75-AB28-7358E63265B3
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...