oracle trace file

Solutions on MaxInterview for oracle trace file by the best coders in the world

showing results for - "oracle trace file"
Giulio
14 Jul 2017
1SELECT s.SID,
2       s.SERIAL#,
3       pa.VALUE || '/' || lower(sys_context('userenv', 'instance_name')) ||
4       '_ora_' || p.SPID || '.trc' AS TRACE_FILE
5FROM V$SESSION s, V$PROCESS p, V$paRAMETER pa
6WHERE pa.NAME = 'user_dump_dest'
7  AND s.paDDR = p.ADDR
8  AND s.AUDSID = sys_context('USERENV', 'SESSIONID');