Oracle Database 12c: Performance Management and Tuning — Question 6

Which two actions can reduce library cache latch contention for an OLTP application that repeatedly executes queries containing a mix of literals and bind variables? (Choose two.)

Answer options

Correct answer: C, E

Explanation

The correct answers are C and E. Setting the CURSOR_SHARING parameter to EXACT helps to ensure that only identical literals are reused, reducing contention. Enabling Automatic Memory Management and allocating sufficient memory for SHARED_POOL_SIZE enhances the library cache's efficiency. The other options either do not directly address latch contention or pertain to different aspects of database performance.