Oracle
1Z0-054 · Question #39
You identified poorly performing SQL by analyzing the V$SQL and V$SQLSTATS views. You want to investigate the plans for these SQL statements. Which two methods can you use to pull out the execution…
The correct answer is A. Query V$SQL_PLAN to view the execution plan. D. Use the dbms_xplan.display_cursor function with the SQL ID and child number to generate the. See the full explanation below for the reasoning.
Question
You identified poorly performing SQL by analyzing the V$SQL and V$SQLSTATS views. You want to investigate the plans for these SQL statements. Which two methods can you use to pull out the execution plan from the library cache for the already executed SQL? (Choose two.)
Options
- AQuery V$SQL_PLAN to view the execution plan.
- BQuery DBA_HIST_SQL_PLAN to view the execution plan.
- CCopy and paste the SQL text from the V$SQL view and use EXPLAIN PLAN to generate the
- DUse the dbms_xplan.display_cursor function with the SQL ID and child number to generate the
How the community answered
(58 responses)- A83% (48)
- B12% (7)
- C5% (3)
Community Discussion
No community discussion yet for this question.