378 views
0 votes
0 votes
T1 T2
READ-Q  
  WRITE-P
  WRITE-Q
READ-P  

Given schedule is:

a) Not conflct serializable, but view serializable

b)  conflct serializable, not view serializable

c) Both conflct serializable, and view serializable

d) Not conflct serializable, not view serializable

1 Answer

1 votes
1 votes
u all know abot conflict serializability , now i m explaining only about view , since t1 reading q from database then it must then t1---->t2 and also by last write operation by t2 on q so t1---->t2

now come for variable p since t1 is reading from t2 then t2------>t1 , if we combine all then they form cycle so it is also not view serializable

Related questions

1 votes
1 votes
3 answers
2
learncp asked Sep 18, 2015
1,506 views
Suppose we have a schedule containing two transactions  as shown-$\begin{bmatrix} T1 & T2 \\ R(A) & \\ W(A) & \\ & R(A) \\  & W(A) \\ R(B)& \\ W(B)& \\ & R(B) \\  & W(...
3 votes
3 votes
2 answers
3
0 votes
0 votes
1 answer
4
atulcse asked Jan 10, 2022
399 views
Consider the following schedule:R2(A), R1(A), R3(B), W3(B), W2(A), R1(A)Is the above schedule view serializable?