用TKPROF格式化该TRCE文件后,如何在新生成的文件里看到绑定变量的值?

[复制链接]
查看11 | 回复3 | 2015-3-6 11:57:31 | 显示全部楼层 |阅读模式
本帖最后由 tolywang 于 2012-11-20 08:40 编辑
Oracle 10g. 11g
tracelevel 4绑定变量的值在 trc 源文件中是可以看到 。 但是 tkprof 就看不到了。
用TKPROF格式化该TRCE文件后,如何在新生成的文件里保留下绑定变量的值?
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
本帖最后由 Yong Huang 于 2012-11-19 20:53 编辑
I don't think you can with tkprof. Why not just read the raw trace file?
From FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 [ID 296559.1]
"However, TKPROF does not take into account bind variables. Therefore, these are ignored in the output. When you need to analyze bind variables, consider using TraceAnalyzer."

回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
Yong Huang 发表于 2012-11-20 10:44
I don't think you can with tkprof. Why not just read the raw trace file?

是的, trace源文件可以看到
只是很好奇格式化之后oracle为什么不保留绑定变量的值在其中呢 ? 应该是比较简单的一个事情....
回复

使用道具 举报

千问 | 2015-3-6 11:57:31 | 显示全部楼层
tkprof没提供这个功能,raw file里还有很多信息格式化后没有了,一样的道理
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行