8.28 Conservative 2 Phase Locking 2PL Part-4

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

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

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

    For complete DBMS, check out this video: th-cam.com/video/YRnjGeQbsHQ/w-d-xo.html

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

    In intro he says "Mai hu aapka dost.." defination of perfect professor, he shares all his knowledge in a way it is easy for us to understand

  • @NishaSharma-nd1dk
    @NishaSharma-nd1dk 3 ปีที่แล้ว +2

    Thanks sir g

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

    awesome teaching skill...love it

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

    It is exactly same as conservative approach in os...as you taught

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

    Awesome

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

    Sir bohut achha.... Isko complete kar dijiye plz.... Or kuch questions bhi plz bana dijiye

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

    Thanks . Very neatly explained 👍

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

    Brilliant explanation Sir ❤❤❤❤

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

      Thank you so much Rohit, glad u liked it,It would be great if you give us a review on our app play.google.com/store/apps/details?id=in.knowledgegate.www. It will help new audience to build trust on us 😀

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

      @@KNOWLEDGEGATE_kg Sure Sir. Sir can you please make a detailed updated video on how to target the GATE examination 2022 for cracking seats in IITs, that will be very beneficial for us.

  • @jay-rathod-01
    @jay-rathod-01 4 ปีที่แล้ว +1

    Cool

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

    🔥Complete DBMS by Sanchit Sir: tiny.cc/DBMS_Sanchitsir_kg
    🔥🔥All Computer Science Subjects by Sanchit Sir: tiny.cc/CSbundle_dbms_kg

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

    Sir,Conservative 2PL are recoverable always because unlocking done after commit only,then how you said it may suffer from irrecoverable and casscading rollback ? plz explain

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

      Same doubt

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

      Unlocking can occur even before commit

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

      Conservative don't give any rule when to commit

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

    Thanks a lot.

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

    thank you sir

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

    Sir upload video in what is threads and process in operating system

  • @jindagi-1sach774
    @jindagi-1sach774 2 ปีที่แล้ว

    Sir iss vale solution me deadlock to remove ho jayega but system inconsistent ho jayega na kyuki yha parallel processing to ho hi nhi Rahi ?

  • @AmanSingh-ci8xw
    @AmanSingh-ci8xw 5 ปีที่แล้ว +1

    Hello sr aap computer network par video kab banaoge plz request hain aapse jldi se jldi computer network ki video k liye

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

    Sir please also upload videos on computer organization

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

    thank you so much,sir

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

    subject for headline

  • @VishalKumar-ql3in
    @VishalKumar-ql3in 5 ปีที่แล้ว

    Sir could you please continue your computer networks Lacture series..

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

    Complax number imagenary & real number calculet squre root cub root with example video sir

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

    Sir can u help in solutions to some ques related to complexity theory?

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

    sir im bit confused here , as u said that in 2-PL transaction meh saare locks acquire karega and then it will start okay i got that
    but at that time T2 kuch kaam hi nai karega woh toh wait karega jab T1 lock release kare
    this is lead to loss in concurrency (T1 kaam kar rha par T2 nai ) fir T2 karega
    yeh toh vhi baat hui na T1 karo fir T2 normal jaisa hota h waise hi
    can somebody pls explain whats going wrong here

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

      lead to inconsistencyy **

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

      Dear @Laksh, Inconsistency will occur only when both T1 and T2 work simultaneously. If both transactions perform their respective operations atomically then the it will be beneficial for maintaining consistency and that's what we do in conservative 2PL. In conservative 2PL, locks are acquired before any operation is performed on the data and held until the transaction commits or aborts. This ensures that all operations within a transaction are performed atomically, i.e., either all operations succeed or all operations fail. Additionally, locks are held until the end of the transaction, even if they are not needed for any further operations. This prevents other transactions from accessing the locked data until the current transaction has completed.

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

      @@KNOWLEDGEGATE_kg ohh okay sir got it
      Thnx for explaining this concept 👍🏻

    • @ankanlayek6405
      @ankanlayek6405 5 หลายเดือนก่อน

      ​@@KNOWLEDGEGATE_kg par sir iss me to baat whi serial execution ki jeise hi ho gyi na. T1 apne pure execution tak koi bhi data item ko unlock nehi karega matlab T2 tab tak apna kam nehi kar payega. T2 apna kam tab karega jab T1 khatam hoga. To iss me to concurrency puri tarah se hamper ho rahi hai??

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

    6:51 😂😂😂😂