811 views
1 1 vote

Consider the following transactions with data items P and Q initialized to zero:

T1T1
read (P);   
read (Q);  
if P = 0 then Q := Q + 1 ;  
write (Q).
T2T2
read (Q);  
read (P);  
if Q = 0 then P := P + 1 ;  
write (P)

Any non-serial interleaving of T1 and T2 for concurrent execution will be view serialiable?

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
1 1 answer
566
566 views
Cjsmwlq asked May 1, 2024
566 views
S2: R1(x);r2(z);r3(x);r1(z);r2(y);r3(y);w1(x);w2(z);w3(y);w2(y)Please help
1 1 vote
1 1 answer
614
614 views
sambey4 asked Oct 15, 2021
614 views
Find View SerializableT1 : R1(A) , R1(B) , W1(B)T2 : R2(A) , R2(B) , W2(B)
1 1 vote
1 1 answer
438
438 views
Mehraj asked Mar 23, 2018
438 views
Is this schedule view serializable?
2 2 votes
2 2 answers
917
917 views
ankit_thawal asked Jan 26, 2018
917 views
If some schedule is not conflict serializable then it can never be view serializable is it true?Or vice versa.