QuestionQ104

VerifiedMonitoring and Tuning Database Performance

An Oracle 19c database uses the default settings for all optimizer initialization parameters.

After a table has undergone partition maintenance, many cursor: pin S wait on X wait events occur.

Which command will reduce the number of these wait events?

Explanation

CURSOR_INVALIDATION defaults to IMMEDIATE. Setting it to DEFERRED defers cursor invalidation for applicable DDL, including partition-maintenance operations, reducing the number of simultaneous cursor invalidations and spreading recompilation work over time. This reduces contention in which sessions wait for a shared cursor mutex pin while another session holds the cursor exclusively.

Learn more

Community Discussion

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