• retagged by
3,329 views
1 1 vote

Assume there are n transactions  $T^{1}$., $T^{2}$., .... ,$T^{n}$.

Every transaction Writes a value  of variable $X$  and then it is read by its successive transaction, like, $T^{1}$ writes a value of $X$ that is read by $T^{2}$ 

$T^{2}$  writes a value of X that is read by $T^{3}$

$T_{n-1}$writes a value of X that is read by $T^{n}$     

Now, if $T_1$ fails then total number of transaction rollbacks are required to recover the schedule is ?

  1. $0$
  2. $\left ( n \right )$
  3. $1$
  4. $\left ( n-1 \right )$

1 Answer

Best answer
1 1 vote

Here  cascading rollback is occured between transactions .

So total number of transaction rollbacks are required to recover the schedule is  n .

Answer is   n .

Which is option B .

• selected by
Answer:
Position:
Show:

Related questions

3 3 votes
2 answers 2 answers
2.6k
2.6k views
Bikram asked Jan 16, 2017
2,648 views
Which of the following is true? Blind writes appear in any view serializable schedule that is not conflict serializable. Blind writes appear in some view serializable...
9 9 votes
2 answers 2 answers
3.0k
3.0k views
Bikram asked Jan 16, 2017
3,049 views
Consider the schedule given below. $T_1$ and $T_2$ are two transactions operating on two resources $x$ and $y.$$$\begin{array}{|c|c|c|} \hline \bf{T_1} & \bf{T_2} \\ \hli...
5 5 votes
1 answers 1 answer
3.0k
3.0k views
Bikram asked Jan 16, 2017
3,021 views
A file has $2^{29}$ records each of size 8B. One block of main memory is $128B$. Sparse indexing is done with one index record per memory block and one index record is o...
3 3 votes
2 answers 2 answers
1.9k
1.9k views
Bikram asked Jan 16, 2017
1,902 views
Consider the relational schema S= {A,B,C,D} and the following functional dependencies on S:$A$$\rightarrow BCD$$B$$\rightarrow C$$CD$$\rightarrow A$Which of the followin...