Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Restore
Redo
log
Recover
Star
t
Ye Inactiv Current
s Fix Grou
Don e
media p
e
? status
N Activ
o e
Clear log Perform Perform N Instance
file. N checkpoint. log switch o crashed?
o Archived?
Back up
database.
Ye
s Ye CKPT
Ye
s successful?
Clear log file. s
N
o
Restore and perform
cancel-based point-in-time
recovery.
Star
t
Ye
s Log file
ALTER DATABASE CLEAR LOGFILE ...
archived
?
N
o
Ye
Needed s
for
data file?
N
ALTER DATABASE CLEAR UNARCHIVED LOGFILE ... o
No No Use a
password file.
Time of
Complete crash
recovery
Point-in-time
recovery Recovery
Restore from Missing transactions task started
this backup after point-in-time recovery at this time
Archived
log Archive
d Online
log Redo log
2 4
1 3 5
Restored Data files containing
data files committed and uncommitted Recovered
transactions data files
Archived
log Archive
dX Online
log Redo log X
Changes applied to point in time (PIT) Database
opened Undo applied
2
4 5
1 3 6
Restored data Data files containing
committed and PIT-recovered
files from as far
uncommitted data files
back as necessary
transactions up to PIT
Redo
log
Current Backup
Database N
o Repair hardware.
open?
N
Archivelog o
missing?