Automatic Diagnostic Repository (ADR)
Your Databaseโs Health Dashboard
๐๏ธ What is ADR?
The Automatic Diagnostic Repository (ADR) is a central, system-wide place where Oracle stores all diagnostic and tracing data. It helps DBAs and Oracle Support troubleshoot and fix problems efficiently.
๐ Key Components of ADR
| Component | Description |
|---|---|
| Background trace files ๐ฅ๏ธ | Logs from background database processes. They record internal errors and info useful for DBAs and Oracle Support. Example: mytest_reco_10355.trc (RECO process). |
| Foreground trace files ๐ป | Logs from server processes. When errors occur, details are saved here. File names include Oracle SID, ora, and OS process ID. Example: mytest_ora_10304.trc. |
| Dump files ๐๏ธ | Detailed snapshots of specific states or errors. Usually generated once per event (unlike continuous trace files). |
| Health monitor reports โค๏ธ | Reports from automated health checks that find issues like file corruptions, block corruptions, undo/redo errors, etc. Includes suggestions to fix problems. |
| Incident packages ๐ฆ | Bundles of metadata and diagnostic files prepared for Oracle Support upload. Includes problem info, incident data, and diagnostic files. |
| Incident dumps ๐ฅ | Diagnostic data files created when an incident happens. Named with incident numbers for easy tracking. |
| Alert log file ๐ | A running chronological log of important messages and errors. DBAs should check this regularly for issues. |
๐ก DBA Tip
Regularly review the alert log and health monitor reports to catch and fix problems early before they affect users.