1,511 views
1 votes
1 votes
Suppose we have a schedule containing two transactions  as shown-

$\begin{bmatrix} T1 & T2 \\ R(A) & \\ W(A) & \\ & R(A) \\  & W(A) \\ R(B)& \\ W(B)& \\ & R(B) \\  & W(B) \end{bmatrix}$

 

We will proceed to create the polygraph for the above schedule..my doubt is that do we need to create the polygraph for both the items A, B or just a single polygraph for the entire schedule. If we create separate polygraphs, for A we will get t1->t2, and for B we will get t1->t2.. Same graph will be obtained if we draw a single polygraph

3 Answers

Best answer
3 votes
3 votes
you should draw a single graph.else you will not succeed to figure out the cycle,alltime,which is an important thing for deciding conflict or non conflict serialization
selected by
0 votes
0 votes
we have to  include them in same polygrah

from that ques u may get it correct but it is not correct approach
0 votes
0 votes
The given schedule is view serializable as well as conflict serializable.

As its is conflict serializable and not having any blind writes..it is of course view serializable in nature.

Related questions

3 votes
3 votes
2 answers
1
1 votes
1 votes
1 answer
2
Na462 asked Jan 13, 2019
1,524 views
Consider following Schedule S with data item x :S : W1(X) R2(X) W3(X) R4(X) W5(X) R6(X) W7(X) R8(X) W9(X) R10(X)The number of schedule view equivalent to Schedule S but n...
3 votes
3 votes
3 answers
4
shivangi5 asked Dec 6, 2017
2,995 views
Consider the 2 transactionsT1: R(A) W(A) W(B)T2: R(A) W(A) R(B) W(B)How many view serializable schedules are possible which are not conflict serializable?(A) 0(B) 1(C) 2(...