You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Understanding Oracle Database architecture is essential for effective database administration, performance tuning, and troubleshooting. Oracle separates the instance (memory + processes) from the database (physical files), and this distinction is central to how everything works.
| Component | What It Is |
|---|---|
| Instance | Memory structures (SGA) + background processes — exists in RAM and CPU |
| Database | Physical files on disk — datafiles, redo logs, control files, archived logs |
An instance can only open one database at a time (in traditional architecture). Multiple instances can open the same database simultaneously using Real Application Clusters (RAC).
The SGA is a shared memory region that all server and background processes access. Key components:
The PGA is private memory allocated to each server process:
PGA is not shared — each connection gets its own PGA.
Oracle uses several background processes that run automatically:
| Process | Name | Purpose |
|---|---|---|
| DBWn | Database Writer | Writes dirty buffers from the buffer cache to datafiles |
| LGWR | Log Writer | Writes redo log entries from the redo log buffer to online redo log files |
| CKPT | Checkpoint | Signals DBWn to write and updates datafile headers with checkpoint information |
| SMON | System Monitor | Performs instance recovery on startup; coalesces free space |
| PMON | Process Monitor | Cleans up failed user processes; releases locks and resources |
| ARCn | Archiver | Copies filled online redo log files to the archive log destination |
| MMON | Manageability Monitor | Collects statistics for AWR snapshots |
| MMAN | Memory Manager | Manages automatic memory allocation (AMM/ASMM) |
| RECO | Recoverer | Resolves distributed transaction failures |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.