Recovery Manager
Software component responsible for restoring the database to a consistent state after a failure, using transaction logs.
📜
The statement of the theorem
Let be the initial database state and be the transaction log. The Recovery Manager defines a state transition function such that is the consistent state. The recovery process involves two phases: Redo and Undo. For any operation , the Redo operation applies to if the transaction committed, and the Undo operation reverts to if the transaction aborted or failed before committing. The final state must satisfy the ACID properties based on the surviving committed transactions.