CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following non serial schedule

S:W4(E),R1(C),R3(A),R1(E),W2(A),R4(A),W3(A),R3(B),W4(A),W2(D),W1(A),R4(C),W1(B),R4(D)

Which of the following is true statement?

Open in App
Solution

Precedence graph:
  • As the precedence graph has cycle and the schedule is not conflict serializableT1T2T3T4W(E)R(C)R(A)R(E)W(A)R(A)W(A)R(B)W(A)W(D)W(A)R(C)W(B)R(D)
  • The schedule is to be view serializable
  • R3(A) occur before W2(A)
  • W2(A) occur before R4(A)
  • R4(A) occur before W3(A)
Which causes a cycle from T3T2T4T3, and the schedule is not view serializable.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
View Serializability
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon