edited by
11,346 views
46 votes
46 votes

Consider three data items $D1, D2,$ and $D3,$ and the following execution schedule of transactions $T1, T2,$ and $T3.$ In the diagram, $R(D)$ and $W(D)$ denote the actions reading and writing the data item $D$ respectively.
$$ \begin{array}{|l|l|l|}\hline \textbf{T1}  &  \textbf{T2} & \textbf{T3}  \\\hline \text{} & \text{R(D3);} & \text{}\\ \text{} & \text{R(D2);} & \text{} \\ \text{} & \text{W(D2);} & \text{} \\ \text{} & \text{} & \text{R(D2);} \\ \text{} & \text{} & \text{R(D3);} \\ \text{R(D1);} & \text{} & \text{} \\ \text{W(D1);} & \text{} & \text{} \\ \text{} & \text{} & \text{W(D2);} \\ \text{} & \text{} & \text{W(D3);} \\ \text{} & \text{R(D1);} & \text{} \\ \text{R(D2);} & \text{} & \text{}   \\ \text{W(D2);} & \text{} & \text{} \\ \text{} & \text{W(D1);} & \text{}\\\hline \end{array}$$Which of the following statements is correct?

  1. The schedule is serializable as $T2; T3; T1$

  2. The schedule is serializable as $T2; T1; T3$

  3. The schedule is serializable as $T3; T2; T1$

  4. The schedule is not serializable

edited by

6 Answers

0 votes
0 votes
It is true that It is NOT CSS

Now we know

(!CSS) and (!BW) ==> (!VSS)

This Schedule is not css as well as there is no BW therefore it is also not a VSS

Therefore It is Not a serializble Schedule.
–4 votes
–4 votes
APPROPIATE OPTION IS D IS  CORRECT
Answer:

Related questions

42 votes
42 votes
3 answers
2
Kathleen asked Sep 17, 2014
15,078 views
Consider the following functional dependencies in a database.$$\begin{array}{|l|l|}\hline \text{Date_of_Birth } \to \text{Age} & \text{Age } \to \text{Eligibility} \\\hli...
30 votes
30 votes
7 answers
3
Kathleen asked Sep 17, 2014
10,106 views
Consider the following $2-3-4$ tree (i.e., B-tree with a minimum degree of two) in which each data item is a letter. The usual alphabetical ordering of letters is used in...
42 votes
42 votes
4 answers
4
Kathleen asked Sep 16, 2014
9,006 views
Consider the following SQL querySelect distinct $a_1, a_2, …, a_n$from $r_1, r_2, …, r_m$where PFor an arbitrary predicate P, this query is equivalent to which of the...