Wednesday, April 17, 2013

Background processes in Oracle.



There are basically 9 Processes but in a general system we need to mention the first five background processes.They do the house keeping activities for the Oracle and are common in any system.
 
The various background processes in oracle are 

1) Data Base Writer (DBWR):

Data Base Writer Writes Modified blocks from Database buffer cache to Data Files.This is required since the data is not written whenever a transaction is commited.

2) Log Writer (LGWR):

Log Writer writes the redo log entries to disk. Redo Log data is generated in redo log buffer of SGA. As transaction commits and log buffer fills, LGWR writes log entries into a online redo log file.

3) System Monitor (SMON): 

The System Monitor performs instance recovery at instance startup.This is useful for recovery from system failure.

4) Process Monitor (PMON):

The Process Monitor peforms process recovery when user Process fails. Pmon Clears and Frees resources that process was using.

5)  Checkpoint (CKPT):

At Specified times, all modified database buffers in SGA are written to data files by DBWR at Checkpoints and Updating all data files and control files of database to indicate the most recent checkpoint.

6) Archieves (ARCH):

The Archiver copies online redo log files to archival storal when they are busy.

7) Recoveror (RECO):

The Recoveror is used to resolve the distributed  transaction in network

8) Dispatcher (Dnnn):

The Dispatcher is useful in Multi Threaded Architecture.

9) Lckn:

We can have upto 10 lock processes for inter instance locking in parallel sql.

=====> If You Like The Article Feel Free to Comment,       Shabbir Ahmad (SE)



No comments:

Post a Comment

Thank You For Comment