If you are controlling the trace file from outside
the session, you may be stuck. But if the session
is issuing its own 'set sql_trace true' call, then you
try to include a mechanism for getting it to do:
alter session set tracefile_identifier = 'something_new'
on a regular basis. This causes the current trace
file to close and a new trace file to open, with
'something_new' included in the file name.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk
The educated person is not the person
who can answer the questions, but the
person who can question the answers -- T. Schick Jr
Next public appearances:
March 2004 Hotsos Symposium - The Burden of Proof
March 2004 Charlotte NC OUG - CBO Tutorial
April 2004 Iceland
One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html
Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____UK___February
____UK___June
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
----- Original Message -----
From: <babette.turnerunderwood@(protected)>
To: <oracle-l@(protected)>
Sent: Friday, February 06, 2004 6:32 PM
Subject: RE: Capacity Planner from OEM VS Statspack
I had given up on trace files a while ago...
I could NEVER format the trace files that went to SYSOUT=20
Finally in 8.1.7.4 we were about to write trace files to DASD
I have not had any luck using tkprof to format these files though.
Also, after creating the tracefile, the trace file is not always =
readable.
For some reason, the oracle service / database keeps am exclusive lock =
on
the file and I cannot view it. Obvioulsy I cannot shutdown the database=20
just to release the lock.
Maybe I will try trace files again...=20
Will have to record time and date of trace, what I was doing and check =
hours (days?) later to see if file lock has been released :-(
- Babette
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------