Explain background processes in Oracle 19c.

Explain background processes in Oracle 19c.

In Oracle Database 19c, the architecture has evolved to be more "intelligent" and autonomous, but the core engine still relies on a specialized team of Background Processes.

If the Oracle Instance is a high-performance restaurant, the SGA is the kitchen, and these processes are the specialized chefs, cleaners, and managers working behind the scenes to ensure the "diners" (your users) get their data fast and fresh.


1. The Core Infrastructure Processes

These are the "mandatory" processes. If one of these stops, the entire instance usually crashes to protect data integrity.

DBWn (Database Writer)

  • The Mover: Its job is to write "dirty buffers" (data that has been changed in memory) from the SGA to the physical Data Files on disk.

  • 19c Fact: In 19c, you can have up to 100 database writer processes (DBW0 through DBW9 and DBWa through DBWj) to handle massive I/O throughput.

LGWR (Log Writer)

  • The Recorder: This is the most time-critical process. It flushes the Redo Log Buffer to the Online Redo Log files on disk.

  • The Rule: It writes when a user commits, when the buffer is 1/3 full, or every 3 seconds. Data isn't "safe" until LGWR finishes its job.

CKPT (Checkpoint)

  • The Synchronizer: It doesn't write data; it signals when data should be written. It updates data file headers and control files to record the "checkpoint," ensuring Oracle knows the exact point from which to start recovery if a crash occurs.


2. The Maintenance & Cleanup Crew

These processes manage the health of the instance and handle unexpected errors.

PMON (Process Monitor)

  • The Janitor: If a user's session crashes (e.g., their laptop dies), PMON detects the failure. It rolls back their uncommitted changes, releases their row locks, and cleans up their memory (PGA).

SMON (System Monitor)

  • The Medic: When you start the database after a crash, SMON performs Instance Recovery. It also handles housekeeping, like cleaning up temporary segments that are no longer needed.

LREG (Listener Registration)

  • The Receptionist: In older versions, PMON did this. In 19c, LREG is a dedicated process that notifies the Oracle Listener that the database is "Open" and ready for connections.


3. The 19c "Intelligent" Processes

19c introduces or refines processes that make the database "Self-Managing."

MMON & MMNL (Manageability Monitors)

  • The Analysts: These processes are the engines behind AWR (Automatic Workload Repository). They take "snapshots" of performance data every hour. MMON also triggers alerts if the database hits a performance threshold.

ARCn (Archiver)

  • The Historian: Only active in ARCHIVELOG mode. When an Online Redo Log file fills up, ARCn copies it to a permanent archive. This is what allows you to recover data from five years ago.


Summary Table: Who Does What?

ProcessRoleCriticalityAnalogy
DBWnWrites Data to DiskHighThe Delivery Truck
LGWRWrites Logs to DiskExtremeThe Legal Notary
PMONCleans up after usersHighThe Cleanup Crew
SMONRecovers the systemHighThe First Responder
LREGRegisters with ListenerMediumThe Signage
MMONPerformance MonitoringLowThe Data Scientist

4. Multi-Process Architecture in 19c

One of the major shifts in 19c (specifically on Linux/Unix) is the move toward Threaded Architecture. By setting the parameter THREADED_EXECUTION = TRUE, Oracle can run these background processes as threads within a few large operating system processes, rather than hundreds of individual OS-level processes. This reduces the memory overhead and CPU context switching.

Pro-Tip for 19c DBAs

If you ever see a process named CJQ0, don't panic! That’s the Job Queue Coordinator. In 19c, it's busier than ever because so many maintenance tasks (like statistics gathering) are now automated.

Looking for servers Rental ?

Call Our Expert :


  • (call for rental enquiries)

Email us :