ORACLE 8: BACKUP & RECOVERY

  1. GOALS & STRATEGY

  1. GOALS:

  1. DEFINING BACKUP & RECOVERY STRATEGY:

 

  1. BACKUP & RECOVERY ARCHITECTURE

  1. USER & SERVER PROCESSES:

USER PROCESSES

SERVER PROCESS

 

 

 

  1. MEMORY STRUCTURES:

When an oracle instance is started, SGA and five or more background processes are stared.

1. BACKGROUND PROCESSES:

PMON:

SMON:

LGWR:

LGWR process writes the redo log entries to disk:

DBWR: These processes can be set by DBWR_IO_SLAVES at init.ora if sysrem hardware doesn’t support asynchronous IO. It writes dirty buffers to disk :

ARCH:

CKPT: It is an event that synchronizes the write operation between the LGWR and DBWR processes. At a checkpoint all modified buffers in the buffer cache and the redo log buffers in the buffer cache are written to a disk by DBWR and LGWR respectively.

Checkpoint occurs:

Control file confirms that all the files are at the same checkpoint number during a database startup. If they are not recovery is needed.

FILE STRUCTURES:

Datafiles: They are both system and user data on the disk. A datafile may contain committed or uncommitted data. If database buffer cache is full a datafile might contain uncommitted data. If a failure occurs, the redo logs are used to remove any uncommitted data on the disk.

Redolog files: They store all changes made to a database. If a failure occurs, the rollback segments are unused to ensure that the committed transactions are written to disk and the uncommitted data is rolled back.

Hosted by www.Geocities.ws

1