In this Document
| Goal |
| Fix |
| References |
How to get trace file name and location from SQL*Plus when trace event is enabled in a session using 'Alter session'?
Use the command: Oradebug tracefile_name
For example:
Sample Output
SQL> conn sys/sys as sysdba
Connected.
SQL> alter session set events '10046 trace name context forever, level 12';
Session altered.
SQL> oradebug setmypid
Statement processed.
SQL> oradebug tracefile_name
/u01/app/oracle/diag/rdbms/v1120/v1120/trace/v1120_ora_26077.trc
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-748940/ ,如需转载,请注明出处,否则将追究法律责任。