160. 2 phase locking (2pl)

  Рет қаралды 6,477

GATE CSE LECTURES BY AMIT KHURANA

GATE CSE LECTURES BY AMIT KHURANA

Күн бұрын

Пікірлер: 12
@AmitKhuranaSir
@AmitKhuranaSir 3 жыл бұрын
@14:45 I have done a small mistake I have done U(A) but after that T2 is doing S(B) which is not allowed in 2PL because transaction can't apply lock after unlocking any item..... Hence this schedule is not according to 2PL... But we can make it according to 2PL by adjusting few locks... Here is the image of solution.... drive.google.com/file/d/100V-vp9kfzla21YaapppgxbhWw1TyaYZ/view?usp=drivesdk
@sahebsarkar8330
@sahebsarkar8330 3 жыл бұрын
And T3 also have same thing U(B) then X(A) I this also not allowed.
@AmitKhuranaSir
@AmitKhuranaSir 3 жыл бұрын
@@sahebsarkar8330 yes....
@alekhyobanerjee2099
@alekhyobanerjee2099 3 жыл бұрын
PL @14:45 If we place U(A) below COMMIT in T2 @15:27 If we place U(B) below COMMIT in T3 Then 2 PL allows the transaction, isn't it ?
@AmitKhuranaSir
@AmitKhuranaSir 3 жыл бұрын
@@alekhyobanerjee2099 ✅ For exact solution refer this link.... drive.google.com/file/d/100V-vp9kfzla21YaapppgxbhWw1TyaYZ/view?usp=drivesdk
@vinaysingh1971
@vinaysingh1971 Жыл бұрын
sorry to say sir but these small mistakes are so many please likewise this , in other viedeos also rectify these mistakes much love and respect for your contribution 🙌
@TechS12
@TechS12 3 жыл бұрын
superb, excellent, lucid and upto the point explanation... very well explained... thanks a lot sir.
@ashishratnawat2711
@ashishratnawat2711 2 жыл бұрын
Sir at 17:00 how is it in 2pl ? Because in T2 there is Shared lock on B after unlocking A. There is growing shrinking and then growing phase. Isn't it ?
@AmitKhuranaSir
@AmitKhuranaSir 2 жыл бұрын
yes please refer pinned comment
@ajitnegi8195
@ajitnegi8195 4 жыл бұрын
Good explanation
@siddhantjha6649
@siddhantjha6649 2 жыл бұрын
sir can we study your whole lecture and refer the notes provided in telegram is it enough ???
@PIYUSHSHARMA-ql3uz
@PIYUSHSHARMA-ql3uz 6 ай бұрын
18:30
161. Drawbacks in 2 Phase Locking(2PL) Protocol with examples | Concurrency Control | DBMS
18:06
GATE CSE LECTURES BY AMIT KHURANA
Рет қаралды 5 М.
Two phase locking example | DBMS | Lec-64 | Bhanu Priya
16:44
Education 4u
Рет қаралды 242 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
165. THOMAS WRITE RULE
22:33
GATE CSE LECTURES BY AMIT KHURANA
Рет қаралды 6 М.
Distributed Transactions are Hard (How Two-Phase Commit works)
16:24
Hussein Nasser
Рет қаралды 35 М.
192. b+ tree
14:22
GATE CSE LECTURES BY AMIT KHURANA
Рет қаралды 5 М.
163. timestamp ordering protocol introduction
16:44
GATE CSE LECTURES BY AMIT KHURANA
Рет қаралды 6 М.
Mathematical Proof Writing
19:23
The Math Sorcerer
Рет қаралды 62 М.
Attention GATE 2026/2027 Aspirants!!! | Watch this video before getting enrolled in any Coaching
13:12
123. HOW TO DECOMPOSE TILL 2 NF
19:22
GATE CSE LECTURES BY AMIT KHURANA
Рет қаралды 8 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН