Re: ** trace file

From: A Joshi <ajoshi977_at_yahoo.com>
Date: Wed, 22 Apr 2009 18:30:16 -0700 (PDT)
Message-ID: <112195.94579.qm_at_web57511.mail.re1.yahoo.com>



Thanks Tim,
Mathias,

Wolfgang,

   tracefile_identifier does not seem to work for :

oradebug setospid 400

oradebug unlimit

oradebug event 10046 trace name context forever , level 12

I have a job that goes 8 hours. It is same sid, spid, pid etc. and I want a way to get a trace with different name. The trace file also grows very fast.

Thanks

  • On Mon, 4/20/09, Tim Gorman <tim_at_evdbt.com> wrote: From: Tim Gorman <tim_at_evdbt.com> Subject: Re: ** trace file To: mathias.magnusson_at_gmail.com Cc: ajoshi977_at_yahoo.com, "oracle-l" <oracle-l_at_freelists.org> Date: Monday, April 20, 2009, 4:37 PM

Don't know if this helps, but be aware of ORADEBUG FLUSH and ORADEBUG CLOSE_FILE as well.  Might help with flushing remaining buffered output to the trace file, then closing the file-descriptor to the file.  Both may help you move the file without weirdness due to open file-descriptors....

Mathias Magnusson wrote:

  How do you empty the file? If that would be a solution for you, maybe the problem of not getting more data into it can be solved. It sounds to me as if the filename you use exists on a different inode as a result of the operation. Oracle would write to the inode it started writing to no matter what you do to the file. So if you empty it and the inode remains the same, I'd imagine new data would still show up in the file.   

Mathias                 

      
        
          
          I also cannot remove the file or empty the
trace file. Because after that nothing goes into the file. Thanks
          
          
        
      
    
  
  
  


 

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Wed Apr 22 2009 - 20:30:16 CDT

Original text of this message