使用dbms_xplan工具查看执行计划9i有一个新的包 dbms_xplan,对查询plan_table表是一个很有用的工具,相对于以前写一个复杂的SQL语句,然后从plan_table看执行计划,......
Rem utlxplan.sql should be used to create that table Rem Rem With SQL*plus, it is recomended to set linesize and pagesize before Rem running this script. For example: Rem set linesize 130 Rem set pagesize 0 Rem Rem MODIFIED (MM/DD/YY) Rem bdagevil 01/23/02 - rewrite with new dbms_xplan package Rem bdagevil 04/05/01 - include CPU cost Rem bdagevil 02/27/01 - increase Name column Rem jihuang 06/14/00 - change order by to order siblings by. Rem jihuang 05/10/00 - include plan info for recursive SQL in LE row source Rem bdagevil 01/05/00 - make deterministic with order-by Rem bdagevil 05/07/98 - Explain plan script for parallel plans Rem bdagevil 05/07/98 - Created Rem
set markup html preformat on
Rem Rem Use the display table function from the dbms_xplan package to display the last Rem explain plan. Use default mode which will display only relevant information Rem select * from table(dbms_xplan.display()); [oracle@ocn1 admin]$
5/5 首页 上一页 3 4 5 |