CS FundamentalsHardGATE CS

During ARIES restart, the analysis pass rebuilds a dirty page table with entries P1 (recLSN 140), P2 (recLSN 95) and P3 (recLSN 210). The last checkpoint's begin record is at LSN 180. Where does the redo pass start?

  1. A. At LSN 95
  2. B. At LSN 180
  3. C. At LSN 140
  4. D. At LSN 210

Correct answer: A. At LSN 95

Redo starts at the smallest recLSN in the dirty page table, since that is the earliest update that might not have reached disk. Starting at the checkpoint (180) would skip P2's and P1's older unflushed updates.

More DBMS and SQL questions

Exams that ask this topic