0 votes 0 votes I think conservative 2PL prevents deadlock also. What should be the answer? Suvam Chatterjee asked Sep 9, 2015 Suvam Chatterjee 519 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes in two phase locking deadlock is possible...conservative protocol is just a way to ensure that deadlock does not happen..Impestamp protocol ensures serializability and prevents deadlocks but suffers from starvation Pooja Palod answered Sep 9, 2015 Pooja Palod comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes It is tough to get ur question. it is too small but 2PL may cause deadlock .2PL with lock upgrade downgrade wont cause deadlock ANI answered Sep 9, 2015 ANI comment Share Follow See 1 comment See all 1 1 comment reply Suvam Chatterjee commented Sep 9, 2015 reply Follow Share But in conservative 2PL we lock all the dataitems of a transaction which it's going to use,before doing any read/write operation. so in that case there wont be any deadlocks,right? 1 votes 1 votes Please log in or register to add a comment.