Page LSN
A page LSN records the log sequence number of the latest logged change reflected in a database page under the engine's recovery protocol.
In original ARIES, redo uses the page LSN, after dirty-page-table and recovery-LSN filtering, to avoid reapplying an update already present on the page. The page state and its LSN must agree; the number alone does not detect torn or corrupt pages. Undo does not reuse that redo test: history has first been repeated, and compensation records track rollback progress. [1] A page LSN is not the global durable-log flush position or a timestamp, and this description must not be generalized to every engine. [2]
Relations
- related
- Log sequence number, Write-ahead log, Compensation log record, Torn write, Fuzzy checkpoint, Physiological logging
Citations
- Mohan, Haderle, Lindsay, Pirahesh and Schwarz. ARIES. ACM TODS 17(1), 1992, sections 3, 5.2 and 6.2-6.3.
- C. Mohan. Repeating History Beyond ARIES. VLDB 1999, sections 3.2.1-3.2.2.