参考: 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中生成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博客tolywang的博客,原文链接:Oracle EBS 如何生成trace文件,如需转载请自行联系原博主。