ADR always-on facility to capture errors to trace or dump files and package it to send to Oracle Support. Trace file is continuous output. Dump file is one-time output.
errors -> problems -> incidents
ADR Base can have multiple ADR Home
ADR Base would be set as initialization parameter, DIAGNOSTIC_DEST. If not, it would be set as environment variable, ORACLE_BASE. If not, it would be set as ORACLE_HOME/log.
select * from v$diag_info;
ADRCI command
or
Support Workbench: problem detection, documentation, resolution.
View details:- Problems, Incidents
Run Health Checks
Generate Diagnostic Data
Run Advisor
Package: Quick or Custom
- alert: warning or critical
- problem: key
- incident: ID
Check:
Datafile, Memory, Transaction Integrity, Metadata, Process Usage
DBMS_HM
V$HM_CHECK, V$HM_RUN
ADRCI>show hm_run, create report hm_run, show report hm_run
Recover Individual Blocks
DB_BLOCK_CHECKING: OFF/False (default), LOW, MEDIUM:-Non-IOT, FULL/True:-Index
Block version, address, checksum (ORA-01578 data block corruption error)
RECOVER... BLOCK:
recover datafile # block #;
recover corruption list;
RMAN Backup/Validate
Analyze Table/Index
DBVERIFY
SQL
List Failure
V$DATABASE_BLOCK_CORRUPTION
Data Recovery Advisor
List Failure #/ALL/Critical, High, Low, Closed
Advice Failure
Repair Failure
Change Faiure # Priority Low/High
V$IR_FAILURE
V$IR_MANUAL_CHECKLIST
V$IR_REPAIR