Beruflich Dokumente
Kultur Dokumente
Objectives
After completing this lesson, you should be able to:
Identify the types of failure that can occur in an Oracle
database
Describe ways to tune instance recovery
Identify the importance of checkpoints, redo log files, and
archive log files
Configure the fast recovery area
Configure ARCHIVELOG mode
14 - 2
14 - 3
Categories of Failure
Failures can generally be divided into the following categories:
Statement failure
User process failure
Network failure
User error
Instance failure
Media failure
14 - 5
Statement Failure
Typical Problems
Possible Solutions
14 - 6
Typical Problems
Possible Solutions
14 - 7
Network Failure
Typical Problems
Possible Solutions
Listener fails.
14 - 8
User Error
Typical Causes
Possible Solutions
Oracle LogMiner
14 - 9
Flashback Technology
Using Flashback technology:
Viewing past states of data
Winding data back and forth in time
Assisting users in error analysis and recovery
14 - 10
Instance Failure
Typical Causes
Possible Solutions
Power outage
Hardware failure
Failure of one of the critical
background processes
Emergency shutdown procedures
14 - 12
SGA
Database
buffer cache
DBWn
Database Writer
process
CKPT
Control
files
Checkpoint process
14 - 13
Data files
SGA
LGWR
Log Writer
Redo log
group 1
14 - 14
Redo log
group 2
Redo log
group 3
14 - 15
Instance
SGA
Background
processes
Database
SCN:140
SCN:129
SCN:143
SCN:
74-101
SCN:143
SCN:
102-143
Control
files
Redo log
group
Undo
SCN: 99
Data files
14 - 16
Checkpoint position
Instance recovery
Transactions
14 - 17
14 - 18
Media Failure
Typical Causes
Possible Solutions
14 - 19
14 - 20
Best
Practice
Steps to
create
additional
control
files
14 - 22
Member
a
Member
a
Member
a
Member
b
Group 1
Member
b
Group 2
Member
b
Group 3
14 - 25
14 - 26
Copies of
Redo log
files
ARCn
Archiver process
14 - 27
14 - 28
14 - 29
Quiz
Statement failure is never by design and always requires the
DBA to address the issue.
1. True
2. False
14 - 30
Quiz
Which parameters configure the fast recovery area?
1. FLASH_RECOVERY_AREA_SIZE
2. DB_RECOVERY_FILE_DEST
3. FLASH_RECOVERY_AREA_LOC
4. DB_RECOVERY_FILE_DEST_SIZE
14 - 31
Summary
In this lesson, you should have learned how to:
Identify the types of failure that can occur in an Oracle
database
Describe ways to tune instance recovery
Identify the importance of checkpoints, redo log files, and
archive log files
Configure the fast recovery area
Configure ARCHIVELOG mode
14 - 32
Practice 14 Overview:
Configuring for Recoverability
This practice covers the following topics:
Verifying control files
Configuring a default fast recovery area
Multiplexing redo log groups
Placing your database in ARCHIVELOG mode
Ensuring that redundant archive logs are created
14 - 33