怎样去 trace sql*net 在sqlnet.ora中添加如下参数 TRACE_LEVEL_CLIENT=16 TRACE_DIRECTORY_CLIENT=/oracle/app/product/11.2.0/db/network/admin TRACE_FILE_CLIENT=client TRACE_UNIQUE_CLIENT=ON TRACE_TIMESTAMP_CLIENT=ON 产生的文件位于 $ORACLE_BASE/diag/client/user_oracle/host_$NUMBER/trace 使用trcasst 分析sql*net的trace文件 [oracle@11g trace]$ trcasst -h Trace Assistant Utility: Version 11.2.0.3.0 Production on March 2, 2019 12:11:11 AM Copyright (c) 2001, 2011, Oracle. All rights reserved. TNS-04301: Trace Assistant Usage error: Invalid options. Usage : trcasst [options] <filename> [options] default values are -odt -e0 -s <filename> always last argument -o[c|d][u|t][q] Net Services and TTC information [c] Summary of Net Services information [d] Detailed Net Services information [u] Summary of TTC information [t] Detailed TTC information [q] SQL commands (used together with u) -s Statistics -e[0|1|2] Error information, default is 0 [0] Translate NS error numbers [1] Error translation [2] Error numbers without translation -l[a|i <connection_id>] Connection information [a] List all connections in a trace file [i <connection_id>] Decode a specified connection
怎样去 trace sql*net
原创
©著作权归作者所有:来自51CTO博客作者心神cgr的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:初学mysql-1
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Oracle 10046 SQL TRACE
为什么我们要使用10046 trace? 10046 trace帮助我们解析 一条/多条SQL、PL/SQL语句
数据库 操作系统 sql oracle 执行计划