prevLSN
.pageLSN
allows comparison of data pages and log records to determine the last written entry.Phase | Description |
---|---|
1. Analysis | Identifies active transactions and dirty pages at the time of the crash. |
2. Redo | Repeats history to reconstruct the database state before the crash. |
3. Undo | Reverses the effects of transactions that did not commit before the crash. |
<TXN-END>
record is found, remove the transaction from ATT.