retagged by
476 views
3 votes
3 votes

Consider the following schedule:

$\begin{array}{|l|l|} \hline T1 & T2 \\ \hline {} & \text{Read (A)}  \\ \hline {} &  A = A + 10 \\ \hline {} &  \text{ Read (B)} \\ \hline {} &  A =B +10 \\ \hline {} & \text{Write (A)} \\ \hline \text{Read (B)} & {} \\ \hline B = B+ 10 & {} \\ \hline \text{Read (A)} & {} \\ \hline B = A+ 10 \\ \hline \text{write (B)} & {} \\ \hline \text{commit} & {} \\ \hline {} &  \text{commit} \\ \hline \end{array}$

Which of the following transaction problems is present in the given schedule ?

  1. Lost update
  2. Dirty Rea
  3. Unrepeatable read
  4. Both (A) & (B)
retagged by

1 Answer

Best answer
2 votes
2 votes
A T1 transaction is reading uncommitted data that is written by transaction T2 on data item A, it is also known write read conflict or Dirty read problem...
selected by
Answer:

Related questions

315
views
1 answers
1 votes
Bikram asked Aug 26, 2017
315 views
Given below are some transaction schedules that involve three transactions $T1 \ T2 \ T3$:$\textbf{Schedule 1:}$T2 : Rx , T2 : Ry , T1 : Wx ... above given schedules is conflict serializable?Schedule $1$Schedule $2$Schedule $3$Schedule $4$
354
views
1 answers
2 votes
Bikram asked Aug 26, 2017
354 views
Consider the following transaction involving two bank accounts $A$ and $B$ ... of the accounts $A$ and $B$ should remain constant is that of:AtomicityConsistencyIsolationDurability
371
views
1 answers
1 votes
Bikram asked Aug 26, 2017
371 views
A schedule with two transactions T1 and T2 is as mentioned below: ... is an example of:Cascade-less scheduleRecoverable scheduleBoth Cascade-less and Recoverable scheduleIrrecoverable schedule
525
views
2 answers
3 votes
Bikram asked Aug 26, 2017
525 views
Which of the following is TRUE about the given schedule S? ... but not conflict serializable.It is conflict serializable but not view serializable.It is not serializable.