What is Oracle Explain plan?
Whenever you issue an SQL statement to read or write data in Oracle, Oracle internally builds a statement execution plan. An execution plan defines how Oracle executes the query . For example , whether to use index or not, which index to use, how to perform the joins between tables etc etc. Oracle provides EXPLAIN PLAN utility to explore the execution plan before you actually run a SQL statement so that you can make necessary performance tuning changes to the sql statement. Syntax for EXPLAIN PLAN is : : Explain plan for your_sql_statement; When you do explain plan Oracle fills a special table . The table name can be specified using following syntax. : Explain plan INTO you_table_name FORur_sql_tatement; If you do not specify a table name it uses a default table called PLAN_TABLE .
Related Questions
- What information is an employer required to give participants to explain the new cash balance plan formula, and when should they receive this information?
- The maintenance schedule mentioned above feels as if Oracle is no longer concerned about Designer. Does Oracle plan to stop supporting Designer?
- What is Oracle Explain plan?