in Databases
3,979 views
1 vote
1 vote
We know, Conservative 2PL is another name of Strict 2PL. But According to Navathe book

Conservative 2PL is deadlock free,but Strict 2PL can have deadlock.

Then how both could be same??
in Databases
by
4.0k views

4 Comments

2
2

2PL...Problem with 2PL is that it serializable but not..

1.not recoverable

2.not casadeless

3. deadlock possible....

therefor we study modified 2PL....

which is ..

1.strict 2PL

2.Regrous 2PL

3.Conservative 2PL ...s

Note:- Strict 2PL is the modified 2PL(here we are strict to unlock the x-clusive locks only after the commitement of transaction)

0
0
but any book u search

it is told Conservative 2PL or Stict 2 PL

ok,

So, conservative 2PL is a extension on strict 2PL

right??
1
1
yes .....

i think u must read definition of all these three once for more clarification.......
0
0

1 Answer

3 votes
3 votes
As far as I know, Strict 2PL and Conservative 2PL are different.

In Strict 2PL, xclusive locks are held until commit is performed.

In Conservative 2PL, first all locks are held and then any action is performed. In this case, the transaction would be deadlock free.

Source- RBR lectures

Related questions

0 votes
0 votes
1 answer
2
Na462 asked in Databases Jul 14, 2018
1,412 views
Na462 asked in Databases Jul 14, 2018
by Na462
1.4k views