怎样去tracesql*net

怎样去 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

文章题目:怎样去tracesql*net
文章路径:https://www.cdcxhl.com/article2/pdioic.html

成都网站建设公司_创新互联,为您提供定制网站云服务器网站制作网页设计公司用户体验企业网站制作

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都定制网站网页设计