参考: FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 (文档 ID 296559.1)?
包括form,concurrent program, Trace ALL user actions, Web-based screen ,文中还说明了如何找到trace文件以及各种分析工具。
比如 form中生成Trace文件监控错误的方法:
Most commonly if debugging an error, you should at least provide trace with binds. When debugging a performance issue, you may consider using trace with binds and waits.
1. 打开想要监控的起始点,启用Trace:
Help---Diagnostics---Trace---Trace with Binds and Waits
2. 操作
包括form,concurrent program, Trace ALL user actions, Web-based screen ,文中还说明了如何找到trace文件以及各种分析工具。
比如 form中生成Trace文件监控错误的方法:
Most commonly if debugging an error, you should at least provide trace with binds. When debugging a performance issue, you may consider using trace with binds and waits.
1. 打开想要监控的起始点,启用Trace:
Help---Diagnostics---Trace---Trace with Binds and Waits
2. 操作
3. 停止Trace以结束监控:Help---Diagnostics---Trace---No Trace
4. 记下Trace文件路径:例如:$ORACLE_HOME/admin//udump/erpprd_ora_10481_2510.trc
5. 编译生成的文件:
比如: tkprof erpprd_ora_10481_2510.trc /tmp/2510.trc
6. 取出编译后文件,用IE打开即可。
4. 记下Trace文件路径:例如:$ORACLE_HOME/admin//udump/erpprd_ora_10481_2510.trc
5. 编译生成的文件:
比如: tkprof erpprd_ora_10481_2510.trc /tmp/2510.trc
6. 取出编译后文件,用IE打开即可。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-718085/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-718085/