Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Destination for the SQL trace file?
By running this script you'll enable trace and you'll have the full name
of the file in the variable "trace_file_name". Beware of the ordinal
part of the name (l_pid variable), which is in hexadecimal format.
Erika Grondzakova wrote:
> Hello,
>
> How could I find out (not having the DBA privilege) where is the
> destination for the trace file generated be the SQL trace facility?
>
> Thanks in advance,
>
> Erika Grondzakova
declare
cursor udd_csr is
select value from v$parameter where name = 'user_dump_dest'; cursor my_pid_csr is select spid from v$process where addr = (select paddr from v$session where audsid=userenv('sessionid')); l_user_dump_dest varchar2(256); l_pid varchar2(20);
![]() |
![]() |