Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Capacity Planner from OEM VS Statspack

Re: Capacity Planner from OEM VS Statspack

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 6 Feb 2004 19:01:20 -0000
Message-ID: <007801c3ece3$a142d970$6702a8c0@Primary>

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

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 :-(


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org 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
-----------------------------------------------------------------
Received on Fri Feb 06 2004 - 13:01:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US