View a statement execution (query) plan, which enables you to optimize the database and SQL code. Viewing an execution plan is useful during troubleshooting and performance tuning.
Before you can get an execution plan from within a SQL file, the SQL file must be connected to a data server connection profile.
The execution plan indicates when to create table indexes, reorganize data tables, or change the way a query is written. It displays actual statistics when you view it during execution and estimated statistics when you view it without executing the SQL code.
The Execution Plan View Options preferences determine the type of execution plan generated by default. After generation, you can change the execution plan type in Execution Plan view.