Advanced Database Chapter One Transaction Processing
Advanced Database Chapter One Transaction Processing
• The transaction log contains a record of all the transactions that have been
performed on the database.
• The system uses the log records to undo the changes made by the failed
transaction and restore the database to its previous state.
Commit/Redo Recovery Technique
• is based on the principle of reapplying the changes made by a
transaction that has been completed successfully to the
database.
• The system uses the log records to reapply the changes made by
the transaction and restore the database to its most recent
Checkpoint Recovery Technique
• is used to reduce the recovery time by periodically saving the
state of the database in a checkpoint file.
• In the event of a failure, the system can use the checkpoint file
to restore the database to the most recent consistent state
before the failure occurred, rather than going through the entire
log to recover the database.
Thank You