Nonstop Database, HiRDB Version 9 System Operation Guide
A database can be recovered to its status at any of the following points:
To recover a database to the point at which a backup was made, the backup file is the only input information that is required (for input to the database recovery utility). The following figure provides an overview of database recovery to a backup acquisition point.
Figure 21-1 Overview of database recovery to a backup acquisition point
The point at which a transaction is completed is called a synchronization point. A synchronization point in which updates within a transaction become effective is called a commit, whereas if the updates become ineffective the synchronization point is called a rollback. Database recovery to the synchronization point of the most recently completed transaction at the time of an error is called recovery to the most recent synchronization point before an error occurred. A transaction that is being processed when an error occurs (a transaction that has not yet reached a synchronization point) is ineffective, which means that any update processing by the transaction cannot be recovered. The following figure shows recovery of a transaction.
Figure 21-2 Transaction recovery (recovery to the most recent synchronization point before an error occurred)
To recover a database to the most recent synchronization point before the error occurred, the following input information is required (for input to the database recovery utility):
#: The unload log files that are required are those into which system log files subsequent to the backup acquisition point have been unloaded. If operation without unloading system log information is used, all system log files containing system log information subsequent to the backup acquisition point will be required.
The following figure provides an overview of database recovery to the most recent synchronization point before the error occurred.
Figure 21-3 Overview of database recovery to the most recent synchronization point before the error occurred
Database recovery to the synchronization point of a completed transaction at a time specified by the HiRDB administrator is called recovery to any synchronization point since a backup was made. It is not possible to recover the updates of a transaction that is being processed at the time specified by the HiRDB administrator (a transaction that has not yet reach a synchronization point). This is called recovery with a range specification. The following figure shows recovery with a range specification.
Figure 21-4 Recovery with a range specification
The input information (for input to the database recovery utility) that is required in order to recover the database to any synchronization point since a backup was made is the same as is needed for recovery to the most recent synchronization point before the error occurred.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.