Can some one please explain a bit about explain plan, and how does one get the explain plan for a query. Also, if there is any sql script which can be used as utility for this, that would be great.
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
|
|
You can use the package DBMS_XPLAN:
|
|||
|
|
Replace the ... with your SQL Statement. After running this run the following to view the plan:
For more information see the Overview or Usage sections in the Oracle 11g Performance Tuning Guide. |
||||
|
|