in Databases
970 views
2 votes
2 votes

in Databases
970 views

10 Comments

It should be I and VI. is it?
0
0
yes, correct.

it is only view equivalent to T1->T2->T3
1
1
@joshi,@Aswani T2 is blindwriting and then value is read by T3 what difference will it make if i schedule w(a) before T2`s write(a) do i have to assume that T2 reading input or have read input previously?
0
0

what difference will it make if i schedule w(a) before T2`s write(a)

whose w(a) ?? 

0
0
Transaction A write on (A).
0
0
why cant it be T2->T1->T3 ?
0
0
@Parshu

because if you do T2->T1->T3, then initial read R1(A) will not be preserved.
1
1
@joshi and what about T1->T2->T3?
0
0
@saxena

yes, T1->T2->T3 is only view equivalent to above schedule.
0
0

Parshu gate

For this schedule T2->T1->T3

Yes T1 is reading the data item for the first time but it is not actually reading the value of the data item that was before the start of all the transactions as it will be overwritten by T2.

So, this is not VS

1
1

1 Answer

0 votes
0 votes

i and vi

No cycle in polygraph and possible order is T1->T2->T3 according to the topological order of polygraph.

Related questions