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

Home -> Community -> Usenet -> c.d.o.server -> Re: Name of the sessions tracefile

Re: Name of the sessions tracefile

From: Fred Stojentin <stojentin_at_orgdv.din.de>
Date: Tue, 22 Jun 1999 13:06:23 GMT
Message-ID: <376f87ef.4029957@news.cis.dfn.de>


On Mon, 21 Jun 1999 17:45:28 GMT, Ralph Ganszky <ganszky_at_my-deja.com> wrote:

>Hi all,
>
>I want to know if there is a documented way to determine the name
>of the tracefile that my own session will create when i switch
>sql_trace on? Or a way to determine the name of the file that was
>created by my session.
>

Hi,

the name of the trace file is
  select v.value||'/'||'ora_'||p.spid||'.trc'   from v$session s,v$process p,v$parameter v   where s.paddr=p.addr and s.audsid=userenv('SESSIONID')

     and v.name='user_dump_dest';
___
Fred Stojentin Received on Tue Jun 22 1999 - 08:06:23 CDT

Original text of this message

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