Re: starting/stopping trace in session

2004-01-03 Thread Jonathan Lewis

The behaviour may be o/s dependent,
and Oracle version dependent.

One way of dealing with the problem:
alter session set tracefile_identifier = 'somthing'
closes the current trace file and opens a new
one with 'something' in the file name.  So every
time you want to restart, you can just do the same
again with a new 'something'.

This also makes it easier to find the right trace file,
of course


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


One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html


Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
UK___November


The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html


- Original Message - 
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Saturday, January 03, 2004 4:24 AM


 Folks,

 I've noticed -- at least on our 9.2 instances, that it does not seem
 possible to generate two trace files from the same session.  Meaning, if I
 start a trace in a session, then stop it, use tkprof to run some analysis,
 and then erase that trace file, a second start_trace does /not/ generate a
 new tracefile.  Is this expected behavior?

 Adam
 -- 
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 -- 
 Author:
   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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jonathan Lewis
  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).


starting/stopping trace in session

2004-01-02 Thread AdamDonahue
Folks,

I've noticed -- at least on our 9.2 instances, that it does not seem 
possible to generate two trace files from the same session.  Meaning, if I 
start a trace in a session, then stop it, use tkprof to run some analysis, 
and then erase that trace file, a second start_trace does /not/ generate a 
new tracefile.  Is this expected behavior?

Adam
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  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).