SQL> oradebug event 10046 trace name context forever,level 8ORA-00072: process "Unix process pid: 1564906, image: oracle@db02 (P007)" is not activeSQL> oradebug setospid 2703564Oracle pid: 452, Unix process pid: 2703564, image: oracle@db02SQL> oradebug event 10046 trace name context forever,level 8Statement processed.SQL> oradebug tracefile_name/u01/PRODDB/admin/diag/rdbms/prod/PROD2/trace/PROD2_ora_2703564.trcSQL> oradebug event 10046 trace name context forever,level 12Statement processed.
1、打开10046事件
2、跟踪session事件
3、找到文件名称字。
4、关闭事件。
oradebug event 10046 trace name context off;