3,067 views

2 Answers

2 votes
2 votes
There can be Deadlock in case of Lock based protocol whereas Time stamp based protcols are free from this.
2 votes
2 votes
2 phase locking protocol (Simple) :- Deadlock and cascade rollback

There are various version 2PL :- Strict, Conservative and rigirous

Timestamping protocol :- Free from deadlock but starvation may occur

Related questions

2 votes
2 votes
1 answer
2
techbrk3 asked Nov 9, 2017
1,671 views
The time stamp of two transactions T1 and T2 are 10 and 15 respectively. Consider the following schedule with T1 and T2 operations.S1:r1(x),w1(x),r2(x),w2(x),r1(y),w1(y),...
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4
LavTheRawkstar asked Mar 17, 2017
2,461 views
What is the difference between Pessimistic time stamp ordering and optimistic time stamp ordering.