One of the best ways to learn is to create flashcards. GoogleNotebook LM has you covered! You can make yourself quizzes, flashcards and more. Every learning style is unique. Find your learning style and you are half way there!
Here is an example of some documents I fed in to roll my own quiz and study materials. https://notebooklm.google.com/notebook/dd908139-4f10-4b06-83df-332c06c6aee4
Here is a great overview of the role of the DBA. The ADR is mentioned at ~ 6:30 and introduced as the “central emergency center”.
So what is Oracle ADR and what do you need to know? Well sometimes its important to know what something isn’t.
We know ADR is an acronym for Oracle Diagnostic Repository. And looking around we can see its a special part of the file system. Useful if things fail right? But what is it?

ADR stands for **Automatic Diagnostic Repository** in Oracle Database. It’s a centralized and structured storage system for all diagnostic data related to database operations and errors.
ADR is a file-based repository that stores diagnostic data outside of the database. It can be used for the problem diagnosis of a database when that database’s instance is down as ADR stores diagnostic information independently of the database instance, enabling diagnosis even if the instance is down.
Here are my 23ai diagnostic files.

The ADR base is specified in the DIAGNOSTIC_DEST database parameter and the DIAGNOSTIC_DEST parameter is used to specify the location of the ADR base directory where the diagnostic data is stored.
ADR is not only used for Oracle database diagnostics but also for other Oracle product diagnostics.
ADR is not held inside an Oracle database schema; it is a file system-based repository.

Key Features of ADR
– Centralized Repository: Stores logs, trace files, dumps, and alert logs in a single location.
– Automatic Organization: Data is organized by timestamp, component, and incident, making it easier to locate and analyze.
– Supports Multiple Components: Includes diagnostics for the database, Oracle Net, ASM, and other Oracle products.
– Incident Packaging: Allows DBAs to package diagnostic data for Oracle Support using tools like `adrci` (ADR Command Interpreter).
– Retention Policy: Automatically purges old diagnostic data based on configurable retention settings.
What is the difference between the incident and alert folder?
The incident folder essentially gives you a “snapshot” of what was happening in the database at the moment the critical error occurred, making it invaluable for root cause analysis. Another way of thinking about it: the alert log is like a diary of everything happening in the database, while incident folders are like detailed crime scene reports that only get created when something goes seriously wrong.
Incident Folder
- Contains detailed diagnostic dumps for specific critical errors (ORA-600, ORA-7445, etc.)
- Created only when serious problems occur
- Each incident gets its own numbered subdirectory (incdir_xxxxx)
- Contains trace files, dumps, and metadata for troubleshooting
- Purpose: Deep-dive diagnosis of critical issues
Alert Folder
- Contains the alert log – a continuous chronological log of database events
- Always present and continuously updated during normal operation
- Single file (alert_<SID>.log) recording all significant database events
- Records startup/shutdown, errors, administrative operations, parameter changes
- Purpose: General monitoring and historical record of database activity
Based on the Oracle Database 23ai documentation collection, ADR (Automatic Diagnostic Repository) is covered in the following book:
Oracle Database Utilities Guide – This guide describes how to use Oracle Database utilities and specifically includes coverage of the Automatic Diagnostic Repository Command Interpreter (ADRCI) Oracle Database 23ai – Books, along with other utilities like Data Pump Export, Data Pump Import, SQL*Loader, and others.
ADR is Oracle’s file-based repository for storing diagnostic data such as traces, dumps, alert logs, and health monitoring reports. The ADRCI tool is the command-line interface used to access and manage this diagnostic information.
Oracle Database Utilities Guide – This guide describes how to use Oracle Database utilities and specifically includes coverage of the Automatic Diagnostic Repository Command Interpreter (ADRCI) Oracle Database 23ai – Books, along with other utilities like Data Pump Export, Data Pump Import, SQL*Loader, and others.
ADR is Oracle’s file-based repository for storing diagnostic data such as traces, dumps, alert logs, and health monitoring reports. The ADRCI tool is the command-line interface used to access and manage this diagnostic information.
See Chapter 23 ADR Command Interpreter
Problem/Incident
A problem is a critical error in the database. Critical errors include internal errors, such as
ORA-00600 and other severe errors, such as ORA-07445 (operating system exception) or
ORA-04031 (out of memory in the shared pool). Problems are tracked in the ADR. Each
problem has a problem key and a unique problem ID.
An incident is a single occurrence of a problem. When a problem occurs multiple times, an
incident is created for each occurrence. Incidents are tracked in the ADR. Each incident is
identified by a numeric incident ID, which is unique within the ADR. When an incident occurs,
the database makes an entry in the alert log, sends an incident alert to Oracle Enterprise
Manager, gathers diagnostic data about the incident in the form of dump files (incident dumps),
tags the incident dumps with the incident ID, and stores the incident dumps in an ADR
subdirectory created for that incident.
As you learn concepts you can ask yourself questions to firm up your awareness. Testing out concepts is a great way to learn.
Basic Quiz
Which three statements are true about Automatic Diagnostic Repository (ADR)? (Choose three).
• A. It is only used for Oracle database diagnostic information.
• B. It is a file-based repository held outside any database.
• C. It can be used for the problem diagnosis of a database when that database’s instance is down.
• D. The ADR base is specified in the DIAGNOSTIC_DEST database parameter.
• E. It is held inside an Oracle database schema.
| Answer Not A, nor E |
Leave a Reply