Database System Concepts
Database System Concepts
7th Edition
ISBN: 9781260084504
Author: Abraham Silberschatz, S. Sudarshan, Abraham, Henry Korth, Silberschatz Abraham, Silberschatz Professor
Publisher: McGraw-Hill Education
Expert Solution & Answer
Book Icon
Chapter 19, Problem 7PE

Explanation of Solution

Actions taken during the undo phase of recovery resulting in an incorrect database state:

Consider the given modifications to the recovery algorithm mentioned in section 19.4.

  • For example, consider the below log records that were written with the given modifications to the recovery algorithm as follows:
    1. 1. 1 start>
    2. 2. < T1, B, 200, 900>
    3. 3. 2 start>
    4. 4. < T2, B, 200, 500>
    5. 5. 2 commit>
  • Here, in the above given algorithm, assume that a rollback occurred between step 2 and 3, but as specified, no log records were generated for the same.
  • Consider what happens when the modified recovery algorithm processes these log records.
    • At the end of the redo phase, transaction T1 will get added to the undo-list and the value of data item B is 5000...

Blurred answer
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education