TypesofFailures Recoverability
TypesofFailures Recoverability
Oracle LogMiner
Flashback Technology
Control
files
CKPT
Instance
1. Startup instance (data files
are out of sync) SGA
2. Roll forward (redo)
3. Committed and uncommitted Background
processes
data in files
4. Database opened
Database
5. Roll back (undo)
6. Committed data in files SCN:
SCN:140 SCN:143 74-101
SCN:
SCN:129 SCN:143 102-143
Undo
SCN: 99
Control Redo log
Data files files group
Media Failure
Best One copy on each disk group At least two copies, each on separate disk
Practice (such as +DATA and +FRA) (at least one on separate disk controller)
Steps to No additional control file 1. Alter the SPFILE with the ALTER
create copies required. SYSTEM SET control_files
additional command.
control 2. Shut down the database.
files 3. Copy control file to a new location.
4. Open the database and verify the
addition of the new control file.
Redo Log Files
Archiver (ARCn):
• Is an optional background SGA
process
• Automatically archives online
Redo log buffer
redo log files when
ARCHIVELOG mode is set for
the database LGWR
• Preserves the record of all Log Writer
ARCn
Archiver process
Archive Log File: Naming and Destinations