in Databases
730 views
1 vote
1 vote
T1 T2
R(A)  
  W(A)
W(A)  

IS THIS IS VIEW SERIALIZABLE?PLZ EXPLAIN

in Databases
730 views

2 Comments

make polly graph

Not view serializable.
0
0
Picture please.
0
0

2 Answers

1 vote
1 vote
Best answer

In given transactionsn, we can make polly graph by using First Read and Last Write, then merge both of them.

edited by

2 Comments

edited by

@Mk Utkarsh

please verify?

I have the problem with Polly graph, can you explain in more detailed?

0
0
Yes this is not view serializable because there won't be any serial schedule possible with Transaction T1 performing the first read also performing the final write (with two transactions T1 and T2).
1
1
0 votes
0 votes
If T1 first read then it also first write to removing cycle from precedence graph but that not possible so given schedule not view

1 comment

Not view

1
1

Related questions

2 votes
2 votes
1 answer
4