Talk:Algorithms for Recovery and Isolation Exploiting Semantics
Appearance
![]() | Computing Start‑class | |||||||||
|
Redo
Why does the ARIES redo all tansactions and not only the commited ones? 212.25.82.123 (talk) 11:10, 1 November 2010 (UTC)
- See What is the benefit of repeating history in ARIES recovery method? Franck Dernoncourt (talk) 03:24, 9 April 2013 (UTC)
Redo
The article claims the following:
- If page P exists in the DPT table, then we see whether the Sequence Number in the DPT is smaller than the Sequence Number of the log record (i.e. whether the change in the log is newer than the last version that was persisted). If it isn't, then we don't redo the entry since the change is already there. If it is, we fetch the page from the database storage and check the Sequence Number stored on the page to the Sequence Number on the log record. If the former is smaller than the latter, the page does not need to be written to the disk.
The last sentence seems wrong to me. Shouldn't this be the other way around? In case the Sequence Number stored on the page is older than the Sequence Number on the log the page needs to be written to disk. — Preceding unsigned comment added by Mohlerm (talk • contribs) 08:40, 9 August 2015 (UTC)