519 views

2 Answers

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
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

Related questions

1 votes
1 votes
1 answer
1
`JEET asked Dec 19, 2018
425 views
Consider a relation R(ABCDE) and functional dependency F1 = {A → B, C → E, B → D}.If the relation is decomposed into BCNF with lossless decomposition and dependency...
2 votes
2 votes
1 answer
2
h4kr asked Dec 8, 2022
299 views
I think the answer should be (B) would be right, because lets say in R, there is a FD NPA - CK, it won't qualify as BCNF even if CK is single attribute
0 votes
0 votes
0 answers
3
`JEET asked Dec 17, 2018
349 views
int main() { int i, j = 1; for(i = 1; i < 100) { j = j * i; i++; if(i == j) break; } }Which of the following is always correct at the end of the loop.s1: (i = 100) or (i ...
0 votes
0 votes
0 answers
4
thor asked Jan 10, 2017
519 views
A B+ tree index is built on the key ‘CS’ attribute of the relation ME16. The attribute ‘CS’ is of length 32 bytes, disk blocks are of size 2048 bytes and index po...