常用工具_关于trc
作者:互联网
10046获取执行trc
alter session set current_schema=xxxx ; alter session set tracefile_identifier='3mn7p3hcprt8m'; alter session set events '10046 trace name context forever,level 1'; sqltext alter session set events '10046 trace name context off'; select distinct(m.sid),p.pid,p.tracefile from v$mystat m,v$session s,v$process p where m.sid=s.sid and s.paddr=p.addr; tkprof 3mn7p3hcprt8m_10046.trc 3mn7p3hcprt8m_10046.txt
标签:set,trc,10046,session,关于,sid,常用工具,alter,3mn7p3hcprt8m 来源: https://www.cnblogs.com/annez/p/15594421.html