619 views
0 0 votes

For the given below schedule, which of the following statements is false. (Assume Time stamp of Ti is i)

T1 T2 T3 T4
R1(A)      
  R1(A)    
    W1(A)  
      R1(A)
W1(A)      
Commit      
  W1(A)    
      W1(A)
      Commit
    R1(A)  
  R2(A)    
  W2(A)    
  Commit    
    Rollback  

(A) It is not conflict serializable
(B) It is not view serializable also, because there are no blind writes
(C) The first operation that is going to be failed under Thomas write rule is  W1(A) of T1
(D) The above schedule will be cascading rollback.

WHAT IS THE ANSWER FOR THIS QUES? 

1 Answer

0 0 votes
Answer D.

T4 reads from T3 but commits first even before T3 commits. Now, T3 rolls back. Now, we cant roll back T4(which has read value from T3) since it has already committed. So, this schedule is non-recoverable schedule.

Hence, no question of cascading rollback(since cascading rollback schedule needs to be recoverable schedule).

Hence, (D).
Position:
Show:

Related questions

1 1 vote
2 2 answers
1.1k
1.1k views
Pranabesh Ghosh 1 asked Sep 19, 2016
1,079 views
In the following expressions of relational algebra, the relation R has schema R(a,b)(A) Q1 and Q2 produce the same answer(B) The answer to Q1 is always contained in the a...
2 2 votes
2 2 answers
986
986 views
Pranabesh Ghosh 1 asked Sep 19, 2016
986 views
Which of the following Queries might produce different results when evaluated using set semantics and multiset semantics, even if the relations R and S are themselves set...
1 1 vote
2 answers 2 answers
994
994 views
Pranabesh Ghosh 1 asked Sep 19, 2016
994 views
Consider the following schemas with primary keys underlines.Student ( sid , sname , age )Course ( cid , cname , sid )Q1: select S.name from Student S, Course C ...
2 2 votes
2 2 answers
1.2k
1.2k views
Pranabesh Ghosh 1 asked Sep 19, 2016
1,234 views
R(A,B,C,D,E) with functional dependencies AE , E D , CDA and BCE. Let the decomposition be with schemas R(A,B,C) , R(B,C,D) ,and R(C,D,E) .Which of the following is true ...