Re: trace files
Posted by Roshan on Apr 14, 2016; 4:23pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/trace-files-tp894p897.html
Hi Erman,
thanks for the tips. I managed to get the spid from v$process using the serial# from 1 of the trace file of Daniel.
select v$session.sid, v$session.user#, v$process.spid from v$session,v$process where v$session.serial#=5651;
The result is shown below:
SID USER# USERNAME SPID
---------- ---------- ------------------------------ ------------------------
4227 173 APPS 57517
4227 173 APPS 42435
4227 173 APPS 42054
4227 173 APPS 42056
4227 173 APPS 42064
4227 173 APPS 42070
4227 173 APPS 42082
4227 173 APPS 42087
4227 173 APPS 42095
4227 173 APPS 42097
4227 173 APPS 42119
SID USER# USERNAME SPID
---------- ---------- ------------------------------ ------------------------
4227 173 APPS 42121
4227 173 APPS 42127
4227 173 APPS 42139
As shown above, there are many SPIDs. Which ones do I choose? or do I need to disable for all these sessions? will the command below disable the trace permanently?
If I proceed with EXECUTE DBMS_MONITOR.SESSION_TRACE_DISABLE(SPID,serial#)
Thanks,
Roshan