11g_Automatic_Diagnostic_Repository
察看ADR資訊:
SQL> select * from v$diag_info;
INST_ID NAME VALUE
---------- ------------------------- --------------------------------------------------------------
1 Diag Enabled TRUE
1 ADR Base d:apphz00540
1 ADR Home d:apphz00540diagrdbmsorclorcl
1 Diag Trace d:apphz00540diagrdbmsorclorcltrace
1 Diag Alert d:apphz00540diagrdbmsorclorclalert
1 Diag Incident d:apphz00540diagrdbmsorclorclincident
1 Diag Cdump d:apphz00540diagrdbmsorclorclcdump
1 Health Monitor d:apphz00540diagrdbmsorclorclhm
1 Default Trace File d:apphz00540diagrdbmsorclorcltraceorcl_ora_3868.trc
1 Active Problem Count 0
1 Active Incident Count 0
11 rows selected
其中:
ADR Base => Directory path for the ADR base.
ADR Home => Directory path for the ADR home for a specific database instance.
Diag Trace => The text-based alert file is stored here in addition to trace files. This directory corresponds to the old bdump directory.
Diag Alert => The XML-version alert log is found here.
Diag Incident => Location for the incident packages.
Diag Cdump => Core dump directory corresponding to cdump.
Default Trace File => Path to the session trace files (SQL trace files).
11g中引入adrci工具,方便使用者和ADR互動。
C:Documents and Settingshz00540>adrci
ADRCI: Release 11.1.0.6.0 - Beta on 星期四 2月 12 14:30:31 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ADR base = "d:apphz00540"
adrci>
比較常用的命令如:
-help
-show home
-host
-set ...
個人感覺這個工具用處不是太大。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/207/viewspace-1027421/,如需轉載,請註明出處,否則將追究法律責任。