GATEverse
← GATE CSE 2006

Q20

MCQ1 mark, −0.25

Consider the following log sequence of two transactions on a bank account, with initial balance 12000,12000, that transfer 20002000 to a mortgage payment and then apply a 5%5\% interest. Suppose the database system crashes just before log record 77 is written. When the system is restarted, which one statement is true of the recovery procedure? We must redo log record 66 to set B to 1050010500 We must undo log record 66 to set B to 1000010000 and then redo log records 22 and 33 We need not redo log records 22 and 33 because transaction T1 has committed We can apply redo and undo operations in arbitrary order because they are idempotent

Sign in to save attempts.

Loading…