We want to know how we can use TOAD to Explain Plan, as it is effortless to execute Explain Plan for an SQL query and also very comfortable to read.
Explain Plan For an SQL Query in Toad For Oracle
In Toad, Open SQL editor by clicking on the menu Database > SQL Editor.
Then type your SQL query and press Ctrl+E to execute Explain Plan for that query.
If Plan Table does not exist in your database, then Toad will ask you to create a Plan Table. Click on OK button to create, if Plan table does not exist in your database.
After that you will see the result below in Explain Plan window as shown in below example:
SQL Query Example
Toad Explain Plan Example Result