edited by
434 views
1 votes
1 votes

Consider the following database schedule with $3$ transactions, $T1$ ,$T2$ and $T3$. Where $r$ stands for READ, w for WRITE.

$S : r2 (A); r1 (B); w2 (A); r2 (B); r3 (A); w1 (B); w3(A); w2 (B)$

Which one of the following statements about the above schedule is TRUE?

  1. the schedule is  serializable
  2. the schedule is not  serializable
  3. schedule will not execute
  4. this schedule have deadlock
edited by

1 Answer

Best answer
1 votes
1 votes

 The schedule is not conflict serializable as there is a cycle in the precedence graph 

cycle in precedence graph therefore not conflict serializable,

now we have to check for is blind write existing or not but there is no blind write therefore not conflict serializable and not view serializable therefore not serializable answer is B .

Answer:

Related questions

1 votes
1 votes
1 answer
1
Bikram asked Nov 26, 2016
334 views
Consider the join of relation R with a relation S. If R has $m$ tuples and S has $n$ tuples, then the maximum and minimum sizes of the join, respectively, are __________....
0 votes
0 votes
1 answer
2
Bikram asked Nov 26, 2016
245 views
A functional dependency of the form x → y is trivial ify ⊆ xy ⊂ xx ⊆ yx ⊂ y
0 votes
0 votes
1 answer
3
Bikram asked Nov 26, 2016
315 views
What does the following Tuple Relational Calculus query produce?The expression σθ1 (E1 ⋈θ2 E2) is the same as: E1 ⋈θ1^ θ2 E2 (σθ1 E1) ∧ (σθ2 E2 ) E1 ⋈ θ...