CS FundamentalsVery hardGATE

A fuzzy checkpoint in ARIES records the set of active (dirty) transactions and dirty pages at checkpoint time WITHOUT forcing all dirty pages to disk immediately (unlike a 'consistent' checkpoint). What problem does this avoid, and what does recovery need instead to compensate?

  1. A. It guarantees zero recovery time after a crash, unlike a consistent checkpoint
  2. B. It avoids stalling normal transaction processing during the checkpoint, at the cost of recovery needing to redo from the oldest log record referenced by any still-dirty page at checkpoint time (tracked via a dirty-page table), not just from the checkpoint record itself
  3. C. It avoids all need for logging whatsoever
  4. D. It eliminates the need for a redo phase entirely

Correct answer: B. It avoids stalling normal transaction processing during the checkpoint, at the cost of recovery needing to redo from the oldest log record referenced by any still-dirty page at checkpoint time (tracked via a dirty-page table), not just from the checkpoint record itself

Forcing every dirty page to disk at checkpoint time (a sharp/consistent checkpoint) can stall the system for a long pause on a busy database. Fuzzy checkpointing just records which pages are dirty, letting them flush asynchronously; recovery must then look back to the earliest LSN still relevant for any page in that dirty-page table, not just the checkpoint's own position in the log.

More DBMS and SQL questions

Exams that ask this topic