Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › What is the purpose of a Compensation Log Record…

What is the purpose of a Compensation Log Record (CLR) in ARIES?

Ato record committed transactions for redo
Bto mark the start of a new transaction
Cto record undo so recovery itself is crash-safe
Dto compress the log by removing old records
Answer & Solution
Correct answer: C. to record undo so recovery itself is crash-safe
When ARIES undoes an action during the Undo pass, it writes a CLR describing the undo. If the system crashes again mid-recovery, the next recovery sees the CLR and skips that undo. This makes ARIES recovery idempotent: it can survive crashes during recovery, which is a real concern for long undo passes.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions