Lec-89: Drawbacks in 2 Phase Locking(2PL) Protocol with examples | Concurrency Control | DBMS

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 73

  • @mariazeb5145
    @mariazeb5145 3 ปีที่แล้ว +70

    I am from Pakistan. May Allah give you best reward for providing ease to the students.... please teach the teachers here how to teach. they have no idea how to teach students. lots of respect for you and best wishes....

    • @jitender5438
      @jitender5438 10 หลายเดือนก่อน +1

      *Ohh shut up followers of phedophile*

  • @nightfuryrider9992
    @nightfuryrider9992 5 ปีที่แล้ว +27

    You are god of dbms ,finally i had finished your all lecture. And 100% confidence in dbms

  • @kanishkaverma7361
    @kanishkaverma7361 4 ปีที่แล้ว +50

    Very nice explanation ... i used to be a biology student but i took engineering line, i nvr studied computer based subjects even my teachers failed to explain thm to me but you ..... you are like a light spot in my black world ..... keep it up plz upload more subjects realated to it stream

  • @putushotampurushotam2390
    @putushotampurushotam2390 4 ปีที่แล้ว +2

    U r awesome... U tube pr only u .......who have cleared my all doubts ...thanks

  • @shubhamsolanki208
    @shubhamsolanki208 11 หลายเดือนก่อน

    sir hamesha bhot accha smjhate hai , ek hi bar me smjh aajata hai, thankyou sir for your hard work.❣❣❣

  • @KIRTHANAS-jl2wr
    @KIRTHANAS-jl2wr 4 ปีที่แล้ว +3

    All your videos are very useful and clear Sir!

  • @iitianphilosopher
    @iitianphilosopher 3 ปีที่แล้ว +3

    Sir aapka lecture dekhne se phle like nhi kru to sukoon nhi milta and I feels like I cheated you so first i like then i love to watch lecture ❤️

  • @udayabhi185
    @udayabhi185 4 ปีที่แล้ว +1

    Thanku sir. I always watch your video. You inspire me as a TH-camr also because I am also a TH-camr. And want to become a teacher like you . Love you sir.

  • @amandwivedi1809
    @amandwivedi1809 3 ปีที่แล้ว +3

    Your explanations are just perfect 😊

  • @blursedgate3430
    @blursedgate3430 4 ปีที่แล้ว +14

    Hey , I really appreciate this , It was so hard to feel the concept from the reference book . Thank you so much for helping us out !

  • @SHAHANAZSHAIK-l3u
    @SHAHANAZSHAIK-l3u 9 หลายเดือนก่อน

    Very great explanation sir !
    It helped me alot thank you so much for this video.

  • @hoshihamza614
    @hoshihamza614 4 ปีที่แล้ว +6

    You are great sir. I very much love you sir!!!

  • @tabasum.suhail.3685
    @tabasum.suhail.3685 2 ปีที่แล้ว +1

    Mind blowing

  • @MSRproduction2066
    @MSRproduction2066 10 หลายเดือนก่อน +2

    watching from Bangladesh

  • @sharma_ashish
    @sharma_ashish 3 ปีที่แล้ว +5

    Amazing !!I found another great teacher on utube. Also, I did not understand one thing why it is called 2PL? And 2PL and serializability r same things or different? Also, To solve transaction issue in microservice architecture people uses 2PL. can u ellaborate how that work?

    • @Unknown-Stranger
      @Unknown-Stranger 3 ปีที่แล้ว +1

      there are various problems occurs to achieve serializability, to overcome these problems we use shared/Exclusive lock but there are also some problem occured in these two, then we finally use 2PL that ensures complete serializability.

    • @danishsharma496
      @danishsharma496 2 ปีที่แล้ว

      Two phase , growing and shrinking

  • @jyothimani2296
    @jyothimani2296 3 ปีที่แล้ว +1

    Very nice explained

  • @learner5915
    @learner5915 3 ปีที่แล้ว +3

    We can rollback commited transaction through campanstate transaction 👍 Isn't it?

  • @xd_army_yt1821
    @xd_army_yt1821 ปีที่แล้ว +2

    nice explanation thank you sir

  • @truecolumn9911
    @truecolumn9911 4 ปีที่แล้ว +2

    Great sir👌👌

  • @_mohitg
    @_mohitg ปีที่แล้ว

    I think we should say that this schedule is always conflict serializable, but not necessarily serializable

  • @hackerrudrapratapsingh149
    @hackerrudrapratapsingh149 5 ปีที่แล้ว +2

    Amazing 👌👌 👌

  • @adyantgupta2413
    @adyantgupta2413 2 ปีที่แล้ว +2

    if it is serializable then it should be recoverable also

  • @manmanual
    @manmanual 3 ปีที่แล้ว

    his teaching skills are pro, but did you all notice his sweatshirt collection very cool :p

  • @shashanksharma7747
    @shashanksharma7747 3 ปีที่แล้ว

    very good explanation

  • @ashadas8762
    @ashadas8762 4 ปีที่แล้ว +2

    Nice sir❤️

  • @dreamerb1
    @dreamerb1 2 ปีที่แล้ว +1

    Thank u so much ❤️

  • @gsharanteja-jm3ey
    @gsharanteja-jm3ey ปีที่แล้ว

    Thank you so much sir❤️

  • @shivvu4461
    @shivvu4461 ปีที่แล้ว +5

    Two persons waiting for each other to text first.
    That is deadlock 🗿

  • @bhavyasachula7006
    @bhavyasachula7006 11 หลายเดือนก่อน

    salute to u sir.

  • @saurabhgoel7021
    @saurabhgoel7021 5 ปีที่แล้ว +2

    best videos . Keep the good work up :)

  • @kartikranadhikka972
    @kartikranadhikka972 2 ปีที่แล้ว +2

    Thanku sir

  • @fardinmultani5893
    @fardinmultani5893 3 ปีที่แล้ว +2

    Sir, GATE exam ke liye swiching Theory ke uper videos banao na sir.

  • @animationcrust1993
    @animationcrust1993 4 ปีที่แล้ว

    Thank you sir ☺️

  • @artgallery8895
    @artgallery8895 4 ปีที่แล้ว

    ap jaisa sir kiu sirf youtube me parat hai...clg mai kiu nahi ate aap jaise teacher...

  • @jeeniusgroup3142
    @jeeniusgroup3142 2 ปีที่แล้ว +2

    agar trans 1 mein x(a) firr r(A) , w(A) ho or fir trans 2 mein r(b) ho to r(b) pe to wo lock lg sakta hai tp fir serializibilty to nhi hoga

  • @meme-ku1vs
    @meme-ku1vs 28 วันที่ผ่านมา

    @ 4:32 how can we give shared lock on exclusive lock.

  • @sandeepmundri7399
    @sandeepmundri7399 4 ปีที่แล้ว

    Paji ek number 👍

  • @dr.amandeep6752
    @dr.amandeep6752 2 ปีที่แล้ว +2

    I hv doubt here...unlock ke baad lock grant e nai hoga phr commit krne mein kaise prob ayegi...case 1

  • @lpunyani01
    @lpunyani01 2 ปีที่แล้ว +2

    sir in irrecoverability ,
    the T2 transaction is demand for shared lock s(A) when when shared lock we can do only read opertaion so there is no effect on database value of A bcs we are not updating the value we are only reading so how we can say that T2 is not recoverable although if T1 get rolls back there is no problem bcs T2 does nothing write operation in A value .. pls answer

    • @dr.amandeep6752
      @dr.amandeep6752 2 ปีที่แล้ว +1

      How would failing of T1effect when it is not holding any lock in shrinking phase how it can perform other operation in future?

    • @GoruChauhan-v5g
      @GoruChauhan-v5g 15 วันที่ผ่านมา

      the value which we are reading is wrong because after t1 write operation we are reading updating value of transaction t1 in t2 and when t1 fail t2 is committed so in this case it is irrecoverable

  • @ArshadKhan-te8op
    @ArshadKhan-te8op 5 ปีที่แล้ว

    Very Very Thanks Sir

  • @rounak3239
    @rounak3239 5 ปีที่แล้ว

    Gurujee shandar jabardast zindabad

  • @lakshyadalal8296
    @lakshyadalal8296 6 หลายเดือนก่อน

    2:51 but sir write to kar hi nhi skhta shared lock hai!

  • @rajeshbera4799
    @rajeshbera4799 5 ปีที่แล้ว

    Thank you sir

  • @viral_video_ayana
    @viral_video_ayana 3 ปีที่แล้ว

    Thankyou sir

  • @asurya3348
    @asurya3348 4 ปีที่แล้ว +3

    I can't understand your language sir please try to teach in English it would be very helpful to other students from other languages

    • @Yashkyk
      @Yashkyk 7 หลายเดือนก่อน +1

      You can utilize subtitle's

  • @priyasaini5167
    @priyasaini5167 5 ปีที่แล้ว

    Sir ajj mera NET ka paper tha
    AI k bhut questions aye hue they

  • @mansichaurasia3626
    @mansichaurasia3626 5 ปีที่แล้ว +4

    Sir aap lpu me padhate ho????

  • @gauravbhosle281
    @gauravbhosle281 4 ปีที่แล้ว +1

    Sir,shared exclusive me bhi to fer cascading rollback hoga fer.....

  • @abhishek.p
    @abhishek.p 4 ปีที่แล้ว

    Sir compensating transaction se roll back kiya ja sakta hai, commited transaction ko

  • @sunitasawant1356
    @sunitasawant1356 3 ปีที่แล้ว

    Sir cascade schedule can also recoverable. If I am wrong then tell me sir

  • @isaisu3101
    @isaisu3101 5 ปีที่แล้ว

    Sir ap roj ap statrgy bta rhe the important topic ko revise krne k liye ..bo post sir muje dikh ni rhi ab...muje plz sir help me muje un tooic ko mark krna h apne syllabus me.

  • @ashugarg3196
    @ashugarg3196 5 ปีที่แล้ว

    sql k previous year upload kijiye

  • @srijitanitamajumdar5904
    @srijitanitamajumdar5904 5 ปีที่แล้ว

    Sir, why is cascading rollback said to be a 'disadvantage'?

    • @SandeepKundalwal
      @SandeepKundalwal 4 ปีที่แล้ว +2

      Useful work done by transactions gets lost due to failure in even a single transaction which leads to cascaded rollbacks of all the uncommited transactions. This is not desirable.!

    • @SandeshMotoVlogs
      @SandeshMotoVlogs 3 ปีที่แล้ว

      Bcos cpu was utilised for doing wasteful work and spent time in doing which went rolled back.It could have completed other useful processes

    • @priyadebnath8171
      @priyadebnath8171 3 ปีที่แล้ว

      Low performance.

  • @shivampatel8850
    @shivampatel8850 2 ปีที่แล้ว +1

    I love you

  • @habshivlogs7642
    @habshivlogs7642 2 ปีที่แล้ว +1

    jo abi yaha tk aa gaya matlab pass ho jao ga itna to ha 🐓🐈

  • @MegaNivetha
    @MegaNivetha 5 ปีที่แล้ว +1

    Sir iam requesting you to post the videos in English also ,please consider my request

  • @mansichaurasia3626
    @mansichaurasia3626 5 ปีที่แล้ว +2

    Sirr plzzzzz replyyy me

  • @viral_video_ayana
    @viral_video_ayana 3 ปีที่แล้ว +1

    Thankyou sir

  • @vinitasingh1117
    @vinitasingh1117 5 ปีที่แล้ว +1

    Thank you sir