Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: tkprof explain=user/password password exposed?
Rich,
Do you even need to use the explain option? The trace file should have the STAT lines, which will be sufficient.
This example is 9.2 on HP-UX (the same works on AIX). (Yes, some of the names have been changed to protect the innocent)
tkprof mydb_ora_29951_ORDERS_QUERY.trc ORDERS_QUERY.tkp waits=yes sys=no sort=fchela,exeela,prsela
The output in the tkp file includes
Rows Row Source Operation
------- ---------------------------------------------------1455078 FILTER (cr=35253920 r=914766 w=0 time=2945488279 us) 42320274 NESTED LOOPS OUTER (cr=35253920 r=914766 w=0 time=2707510696 us)
As long as the STAT lines are in the trace file, tkprof *should* be using them instead of an explain plan call into the database.
Regards,
Dan Fink
Received on Tue Feb 07 2006 - 15:48:43 CST