1 [Start, T1] 2 [Start, T2] 3 [T1, Bounce, 500, 1000] 4 [T2, Salary, 4000,4400] 5 [Checkpoint, Active={T1, T2}] 6 [T2, Bounce, 1000, 1500] 7 [Commit, T2] 8 [Start, T3] 9 [T1, Salary, 4400, 7000] 10[Checkpoint, Active={T1, T3}] 11[T3, Tax,300,500] 12[T3,EmpN,10,14] 13[Commit, T1] 14[Commit, T3] 15[Start, T8] 16[T8,Bounce, 1500,1550] 17[Start, T5] 16[Checkpoint, Active={T5, T8}] 17 [Start, T7] 18 [T7, abc,6,8] 19 [T5, MangN, 1,2] 20 [Commit,Ts] 21 [Start, T9] 22 [T9, MangN,2,3] 23 [Commit, T9] 24 [System Failure] Using Deferred Updates recovery scheme answer the following questions. Undone: There is no undo in Deferred recovery Redone: T1, T2, T3, T5, T9 What will be the values of Salary and Tax after recovering the system? Salary 7000 Tax 500 End -- MangN 3

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
  1. Using Deferred Updates recovery scheme answer the following questions.

Which transactions will be undone, redone and What will be the values of Salary and Tax after recovering the system?

The blue is my answer and im not sure if i got right or not, please help

1 [Start, T1]
2 [Start, T₂]
3 [T1, Bounce, 500, 1000]
4 [T2, Salary, 4000,4400]
5 [Checkpoint, Active={T1, T2}]
6 [T2, Bounce, 1000, 1500]
7 [Commit, T₂]
8 [Start, T3]
9 [T1, Salary, 4400, 7000]
10[Checkpoint, Active={T1, T3}]
11[T3, Tax,300,500]
12[T3, EmpN,10,14]
13[Commit, T₁]
14[Commit, T3]
15[Start, T8]
16[T8,Bounce, 1500,1550]
17[Start, T5]
16[Checkpoint, Active={T5, T8}]
17 [Start, T7]
18 [T7, abc,6,8]
19 [T5, MangN, 1,2]
20 [Commit, T5]
21 [Start, T9]
22 [T9, MangN,2,3]
23 [Commit, T9]
24 [System Failure]
Using Deferred Updates recovery scheme answer
the following questions.
Undone:
There is no undo in Deferred recovery
Redone:
T1, T2, T3, T5, T9
What will be the values of Salary and Tax after
recovering the system?
Salary
7000
Tax
500
End
--
MangN
3
Transcribed Image Text:1 [Start, T1] 2 [Start, T₂] 3 [T1, Bounce, 500, 1000] 4 [T2, Salary, 4000,4400] 5 [Checkpoint, Active={T1, T2}] 6 [T2, Bounce, 1000, 1500] 7 [Commit, T₂] 8 [Start, T3] 9 [T1, Salary, 4400, 7000] 10[Checkpoint, Active={T1, T3}] 11[T3, Tax,300,500] 12[T3, EmpN,10,14] 13[Commit, T₁] 14[Commit, T3] 15[Start, T8] 16[T8,Bounce, 1500,1550] 17[Start, T5] 16[Checkpoint, Active={T5, T8}] 17 [Start, T7] 18 [T7, abc,6,8] 19 [T5, MangN, 1,2] 20 [Commit, T5] 21 [Start, T9] 22 [T9, MangN,2,3] 23 [Commit, T9] 24 [System Failure] Using Deferred Updates recovery scheme answer the following questions. Undone: There is no undo in Deferred recovery Redone: T1, T2, T3, T5, T9 What will be the values of Salary and Tax after recovering the system? Salary 7000 Tax 500 End -- MangN 3
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Properties of Different Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education