Question: Suppose that the system crashes before the [write_item, T 2 , D, 25, 26] entry is written to the log in Figure 22.1(b). Will that

Suppose that the system crashes before the [write_item, T2, D, 25, 26] entry is written to the log in Figure 22.1(b). Will that make any difference in the recovery process?

Figure 22.1(b)

(b) A BCD 30 15 40 20 [start_transaction, T3] [read_item, T3,C] [write_item,

T3.B,15,12] [start_transaction, T2) 12 [read_item, T2,B] [write_item, T2,B,12,18] 18 [start_transaction, T;] [read_item,

(b) A BCD 30 15 40 20 [start_transaction, T3] [read_item, T3,C] [write_item, T3.B,15,12] [start_transaction, T2) 12 [read_item, T2,B] [write_item, T2,B,12,18] 18 [start_transaction, T;] [read_item, TA] [read_item, T,D] [write_item,T,D,20,25] 25 [read_item, T2, D] [write_item, T2,D,25,26] 26 [read_item, T3 A] System crash

Step by Step Solution

3.38 Rating (170 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

When the system cashes before the transaction T2 performs a write operation on item D There will be ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Fundamentals Of Database Systems Questions!