Oracle Background Processes: DBWR, LGWR, CKPT, SMON, PMON

Oracle DBA Certification 12 min min read Updated: Nov 16, 2026 Beginner
Oracle Background Processes: DBWR, LGWR, CKPT, SMON, PMON
Beginner Topic 2 of 6

Why Background Processes?

When the instance starts, Oracle also starts a team of background processes. Each has one job. If a critical one dies, the instance stops, so every DBA must know them.

The Main Processes

ProcessFull nameJob
DBWnDatabase WriterWrites dirty blocks from the buffer cache to datafiles
LGWRLog WriterWrites redo from the log buffer to the online redo logs at each commit
CKPTCheckpointUpdates file headers so recovery knows where to start
SMONSystem MonitorRecovers the instance after a crash and cleans up temporary space
PMONProcess MonitorCleans up after failed sessions and releases their locks
ARCnArchiverCopies full redo logs to the archive destination (ARCHIVELOG mode)
LREGListener RegistrationRegisters services with the listener
MMON / MMNLManageabilityCollect AWR snapshots and metrics
CJQ0Job Queue CoordinatorStarts scheduler jobs
Simple example: Think of a restaurant. LGWR is the waiter who writes every order on the ticket immediately (so nothing is lost). DBWR is the person who tidies the kitchen later in batches. SMON is the manager who fixes things after a power cut.

When Does DBWR Write?

  • A checkpoint happens
  • The buffer cache runs low on free buffers
  • A tablespace goes offline or read-only
  • The instance shuts down cleanly

When Does LGWR Write?

  • A session commits (this is the most important one)
  • The redo buffer is one-third full
  • Every 3 seconds
  • Before DBWR writes a dirty block
Remember: A commit waits for LGWR, not for DBWR. That is why slow redo disks make commits slow.

List the Processes

sql SELECT name, description FROM v$bgprocess WHERE paddr <> '00' ORDER BY name;
bash # On Linux, see them as operating system processes ps -ef | grep ora_ | grep -v grep
Result

You will see names like ora_dbw0_FREE, ora_lgwr_FREE, ora_ckpt_FREE, ora_smon_FREE and ora_pmon_FREE.

What if a Process Dies?

ProcessEffect if it dies
PMON, SMON, DBWn, LGWR, CKPTThe instance crashes (Oracle terminates it)
ARCnArchiving stops. The database can hang when redo logs fill up.
A user server processOnly that session is lost. PMON cleans up.

Conclusion

Each background process has one clear job. LGWR protects commits, DBWR updates datafiles, CKPT marks recovery points, SMON and PMON clean up.

Quick Summary: LGWR at commit, DBWR in batches, CKPT checkpoints, SMON instance recovery, PMON cleans failed sessions.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators