Oracle
1Z0-064 · Question #36
Examine the parameters set for your database instance: You are administering a database that supports an OLTP workload. Users complain about the degraded performance of some queries. While…
The correct answer is B. Set the CURSOR_SHARING parameter to FORCE. C. Use bind variables instead of literals. See the full explanation below for the reasoning.
Question
Examine the parameters set for your database instance:
You are administering a database that supports an OLTP workload. Users complain about the degraded performance of some queries. While diagnosing, you notice a large number of hard parses occurring for several syntactically almost identical SQL statements that differ only in literal values in the WHERE clause. Which two actions would you recommend to improve performance? (Choose two.)
Exhibit
Options
- ACreate the KEEP cache and cache the tables used in the queries.
- BSet the CURSOR_SHARING parameter to FORCE.
- CUse bind variables instead of literals.
- DCreate SQL plan baselines for the almost identical SQL statements and load them into the cursor
- ESet the OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES parameter to TRUE.
How the community answered
(41 responses)- A12% (5)
- B78% (32)
- D7% (3)
- E2% (1)
Community Discussion
No community discussion yet for this question.
