Oracle
1Z0-054 · Question #16
You are working on an online transaction processing (OLTP) system. By day most of the application users perform queries accessing the most recently added or modified rows. The applications have most…
The correct answer is B. setting the OPTIMIZER_MODE parameter to FIRST_ROWS_n at the instance level C. asking the developer to add a hint /*ALL_ROWS*/ in the long-running batch processing queries. See the full explanation below for the reasoning.
Question
You are working on an online transaction processing (OLTP) system. By day most of the application users perform queries accessing the most recently added or modified rows. The applications have most of the queries based on multiple tables. But at night, some batch processing is also done. Which two actions would you recommend to choose a goal for the optimizer based on the needs of your application? (Choose two.)
Options
- Asetting the OPTIMIZER_MODE parameter to ALL_ROWS at the instance level
- Bsetting the OPTIMIZER_MODE parameter to FIRST_ROWS_n at the instance level
- Casking the developer to add a hint /ALL_ROWS/ in the long-running batch processing queries
- Dasking the developer to add a hint /FIRST_ROWS_n/ in the long-running batch processing
How the community answered
(45 responses)- A7% (3)
- B78% (35)
- D16% (7)
Community Discussion
No community discussion yet for this question.