Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: explain plan
If you all are in 9i and you have not used dbms_xplan.display, give it a
try... you will throw scripts like this one away forever!
RF
-----Original Message-----
To: Multiple recipients of list ORACLE-L
Sent: 6/26/2003 11:19 AM
David - Here is the one I use. In my environment I just have one
developer
at a time using EXPLAIN, so I just have it truncate the table afterward.
select lpad(' ',2*(level-1))||operation||' '||options||' '||object_name ||' '||decode(id,0,'Cost = '||position) "Query Plan"
from plan_table start with id=0 connect by prior id = parent_id
Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
[EMAIL PROTECTED]
-----Original Message-----
Sent: Thursday, June 26, 2003 11:00 AM
To: Multiple recipients of list ORACLE-L
List ,
does anybody have or know where I can get a script that will explain
all of
the columns from the plan_table? Does anybody have any suggestions for
using ultxpls.sql?
thanks,
David Ehresmann
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Ehresmann, David
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jun 26 2003 - 12:04:21 CDT
![]() |
![]() |