Automatic Diagnostic Repository (ADR) with Oracle Net for 11g
Using and Disabling the Automatic Diagnostic Repository (ADR) with Oracle Net for 11g [ID 454927.1] | |||||
| |||||
修改時間 08-OCT-2010 型別 HOWTO 狀態 PUBLISHED |
In this Document
Goal
Solution
Applies to:
Oracle Net Services - Version: 11.1.0.6.0 to 11.2.0.1 - Release: 11.1 to 11.2Linux x86
Microsoft Windows (32-bit)
MS Windows
Intel Based Server LINUX
Checked for relevance on 19-MAR-2010.
Goal
Using and Disabling the Automatic Diagnostic Repository (ADR) with Oracle Net. Includes instructions for using the adrci executable included in the 11g installation.Solution
Client Trace Files
Viewing Method 1
adrci> show base -product client
adrci> set base
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
cd oradiag_username
cd clients
cd user_username
cd host*
cd trace
-or-
Followed by ls -ltr to sort the
directory listing by date.
Viewing Method 2 (Windows)
Server Trace Files
Viewing Method 1
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
Server traces are in the format of
e.g.,
/u01/app/oracle/product/diag/rdbms/v11/V11/trace
Viewing Method 2 (Windows) List of
server traces:
Server traces are in the format of
Listener Trace
Files
Viewing Method 1
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
Listener
traces are in the format of ora_
ls -ltr to sort by time and
date
Viewing Method 2 (Windows)
Listener traces are in the format of
ora_
dir /od *.trc to sort by time and
date
LSNRCTL traces
Viewing Method 1
adrci> show base -product client
adrci> set base
adrci> show tracefile
adrci> show trace
Viewing Method 2 (Linux)
ls -ltr *.trc to sort by time and
date
Viewing Method 2 (Windows)
dir /od *.trc to sort by time and
date
Listener and CMAN Log Files
Viewing Method 1
adrci
adrci> show alert
[pick a
number corresponding to a log file]
Use vi commands and :w to write the file
CMAN Trace
Files
Viewing Method 1 (Linux)
Viewing Method 1 (Windows)
If you have "n" number of CMAN gateways configured then the last (n + 2) traces in the directory output are what is needed.
Out of these last (n + 2) traces, the 1st will be the cmadmin trace, the 2nd will be the cman tnslsnr trace, and the remaining will be gateway traces.
sqlnet.log
Viewing Method 1
adrci
adrci>show base -product client
adrci> set base <above
output>
adrci> show alert
[pick a number corresponding to a
log file]
Use vi commands and :w to write the
file
trcasst
No ADR created tracefile can be read by trcasst. Please see
below on how to disable ADR.
Tnsping Tracing
Tnsping traces are not effected by ADR
being set or not. Set tnsping_trace_level as
usual.
Reverting Back to Old-Style.
Tracing and Logging:
Set DIAG_ADR_ENABLED=off in the following
locations, after doing so, set a trace_level accordingly:
revert to
client/server tracing/logging: set parameter DIAG_ADR_ENABLED=off in the client
or server sqlnet.ora files
revert to listener tracing/logging: set
parameter DIAG_ADR_ENABLED_listenerName=off in the listener.ora file
revert to cman tracing/logging:
Linux and Windows: add (DIAG_ADR_ENABLED=off) inside the parameter_list
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/756652/viewspace-719232/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Automatic Diagnostic Repository (ADR)
- Automatic Diagnostic Repository (ADR) in Oracle Database 11g Release 1 (ADRCI)OracleDatabase
- 11g_Automatic_Diagnostic_Repository
- Oracle AWR automatic workload repositoryOracle
- Oracle AWR(Automatic Workload Repository)使用Oracle
- ADDM: Automatic Database Diagnostic MonitorDatabase
- Oracle AWR(Automatic Workload Repository) 說明Oracle
- Oracle AWR(Automatic Workload Repository)使用解析Oracle
- How to use the Automatic Database Diagnostic Monitor(一)Database
- Oracle10g AWR (Automatic Workload Repository)Oracle
- AWR: Automatic Workload Repository
- Automatic Workload Repository ViewsView
- AWR(Automatic Workload Repository)
- Automatic Manageability Features : Automatic Workload Repository (52)
- Automatic SQL Tuning in Oracle Database 11gSQLOracleDatabase
- Oracle 11G 新特性 Automatic block repairOracleBloCAI
- AWR(Automatic Workload Repository)——分析(4)!
- AWR(Automatic Workload Repository)——分析(3)!
- AWR(Automatic Workload Repository)——概述(1)!
- Oracle 11g DG新特性--Automatic block repairOracleBloCAI
- Automatic Workload Repository (AWR)總結(1)
- Automatic Workload Repository (AWR)總結(2)
- Automatic Workload Repository (AWR)總結(3)
- Oracle10g New Feature -- 10. AWR (Automatic Workload Repository)Oracle
- Oracle ADR介紹Oracle
- Automatic Workload Repository Compare Period report
- 自動工作負載庫(Automatic Workload Repository,AWR)負載
- 自動資料庫診斷監控 ADDM(Automatic Database Diagnostic Monitor)!資料庫Database
- oracle11g ADR 位置Oracle
- oracle的adr清理incidentOracleIDE
- AWR(Automatic Workload Repository)——比較報告的生成(2)!
- Disable Oracle Automatic JobsOracle
- AWR快照資料遷移(Transporting Automatic Workload Repository Data)
- Oracle 11g中的IO Calibrate(IO校準)--Automatic Degree of Parallelism(DOP)OracleParallel
- Oracle ADR packaging incidents(打包事件)OracleIDE事件
- 系統級alias vs Oracle ADR功能Oracle
- 重新 create oracle RepositoryOracle
- Oracle Automatic PGA Memory ManagementOracle