QuestionQ16

VerifiedTuning SQL Statements

An application uses numerous different literals when it executes queries that are otherwise identical, causing performance issues.

Review these statistics:

Question Image

Which action will resolve this issue?

Explanation

Literal-based SQL statements that differ only in their literal values normally cannot share a cursor, so each distinct text requires parsing. Enabling cursor sharing so the equivalent statements reuse a shared execution plan addresses the parsing overhead; enlarging the shared pool or buffer cache and using plan baselines do not make distinct literal SQL share cursors.

Learn more

Community Discussion

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