Q
Problem solve Get help with specific problems with your technologies, process and projects.

Writing script to automatically read last query without using AUTOTRACE

How can I write a script to automatically read the last query I submitted and generate the execution plan for the query without using the AUTOTRACE tool or EXPLAIN PLAIN command?
One way to do it is to query V$SQL_PLAN, which contains the execution plan for each cursor in the SQL cache.

Dig Deeper on Oracle database performance problems and tuning

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close