Consider using the crash recovery procedure described in Section 22.2 (intended for physical logging) when logical logging is used. Explain how the procedure has to be modified to handle crashes that occur during recovery. Assume that the effect of each update is confined to a single page.

What will be an ideal response?


Problem: The crash might occur during Phase 3. It makes a difference during the second execution of recovery (after the crash during Phase 3) whether the application of an inverse operation to an updated item has already been performed. Hence, LSNs must be used to determine whether an operation should be applied to a page.

Computer Science & Information Technology

You might also like to view...

The files stored on a disk are identified by name in a disk’s __________.

a. directory b. index c. first sector d. boot sector

Computer Science & Information Technology

The method __________ gets the contents of the text field tf.

a. tf.getText(s) b. tf.getText() c. tf.getString() d. tf.findString()

Computer Science & Information Technology

The preset search is for ____, but you can change the preset to search for settings or files.

A. files B. applications C. Bing D. settings

Computer Science & Information Technology

Item A in the accompanying figure shows a video in the  _______________ panel.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology