Data Structure
| Description
|
Control File
| The control file contains records that describe and maintain information about the physical structure of a database. The control file is updated continuously during database use, and must be available for writing whenever the database is open. If the control file is not accessible, the database will not function properly.
|
System Change Number (SCN)
| The system change number is a clock value for the Oracle database that describes a committed version of the database. The SCN functions as a sequence generator for a database, and controls concurrency and redo record ordering. Think of the SCN as a timestamp that helps ensure transaction consistency.
|
Redo Records
| A redo record is a group of change vectors describing a single, atomic change to the database. Redo records are constructed for all data block changes and saved on disk in the redo log. Redo records allow multiple database blocks to be changed so that either all changes occur or no changes occur, despite arbitrary failures.
|
Redo Logs
| All changes to the Oracle database are recorded in redo logs, which consist of at least two redo log files that are separate from the datafiles. During database recovery from an instance or media failure, Oracle applies the appropriate changes in the database's redo log to the datafiles; this updates database data to the instant that the failure occurred.
|
Backup
| A database backup consists of operating system backups of the physical files that constitute the Oracle database. To begin database recovery from a media failure, Oracle uses file backups to restore damaged datafiles or control files.
|
Checkpoint
| A checkpoint is a data structure in the control file that defines a consistent point of the database across all threads of a redo log. Checkpoints are similar to SCNs, and also describe which threads exist at that SCN. Checkpoints are used by recovery to ensure that Oracle starts reading the log threads for the redo application at the correct point. For Parallel Server, each checkpoint has its own redo information.
|
Type of Recovery Operation
| Implication for Distributed Database System
|
Restoring a full backup for a database that was never accessed (updated or queried) from a remote node
| Use non-coordinated, autonomous database recovery.
|
Restoring a full backup for a database that was accessed by a remote node
| Shut down all databases and restore them using the same coordinated full backup.
|
Complete media recovery of one or more databases in a distributed database
| Use non-coordinated, autonomous database recovery.
|
Incomplete media recovery of a database that was never accessed by a remote node
| Use non-coordinated, autonomous database recovery.
|
Incomplete media recovery of a database that was accessed by a remote node
| Use coordinated, incomplete media recovery to the same global point-in-time for all databases in the distributed database.
|