A method for providing data integrity of a database system. A standby database
is selected to replace a failed primary database. At least one redo log file having
at least one data transaction is selected to be applied to the selected standby
database. The selected standby database is updated with the data transaction from
the selected redo log file if an identification code in the redo log file matches
an identification code in the standby database.