Lec-87: Drawbacks in Shared/Exclusive Locking Protocol with Example | Concurrency Control Part-2

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 89

  • @shubhamtaluja9770
    @shubhamtaluja9770 2 года назад +18

    How simply you explain things Sir. Won't be able to forget lifetime. Thank you so much :)

  • @arijitbarua6183
    @arijitbarua6183 2 года назад +48

    Gate Smashers entire channel can cover your Btech syllabus more efficiently than any other University

  • @pooo8781
    @pooo8781 3 года назад +5

    Satisfied completely ❤❤ from Nepal. It helps me on my DBMS EXAM❤❤

  • @twinklegarg1413
    @twinklegarg1413 3 года назад +43

    No sir 3:15 it is a serializable schedule T1->T2

    • @svaibavbajra
      @svaibavbajra 3 года назад +3

      fair point. non conflict pairs can be swapped i guess

    • @doofsCat
      @doofsCat 3 года назад +2

      Just chane B to A at bottom of T1... Then construct a precedence graph and see....

    • @meetpopat1463
      @meetpopat1463 2 года назад

      @@svaibavbajra Exactly

    • @newtanagmukhopadhyay4716
      @newtanagmukhopadhyay4716 2 года назад +3

      @@doofsCat yea i think he wanted to write A wrote B mistakely.

  • @sahil-ti3io
    @sahil-ti3io Год назад +1

    Thanks sir (real meaning of Teacher) 💜👍🏿

  • @maniaccodes
    @maniaccodes 7 месяцев назад +7

    example shown for first is serializable as R(A) and R(B) are non conflict pair and R(A) and W(B) are also non conflict pair

    • @SluciferKm
      @SluciferKm 4 месяца назад

      I'm also confused there how he said that it cannot be serialized

    • @areebaaoun8113
      @areebaaoun8113 Месяц назад

      Exactly

  • @rounak3239
    @rounak3239 5 лет назад +1

    Gurujee shandar jabardast zindabad

  • @zeelpatel5559
    @zeelpatel5559 2 года назад

    sahi padha rahe ho ap.. ekdam mast!

  • @anonymousfan9703
    @anonymousfan9703 2 года назад

    9:00
    T1 Ya bechara wait kar rha ha
    Sir wait karta reh
    Best line from Sir

  • @MADDILAKSHMINARAYANA
    @MADDILAKSHMINARAYANA Год назад

    God of explanation. Thank you so much sir,

  • @lavish532
    @lavish532 4 года назад +33

    jahan pe aap ye prove kar rahe ho ki ye serializable nahi hai, agar usi problem ko precedence graph se solve kia jae to ye serializable hai. Graph mei T1 ki indegree hogi zero. To pehle T1 and fir T2 chalega to ye serializable hai and loop b nahi hoga. ye kese ho sakta hai ?

    • @factvortex6509
      @factvortex6509 4 года назад +2

      loop nhi hoga q k here loop basically means that the starting transaction in the preceding graph should not end on the same starting transaction i.e of t1 is starting transaction then according to precedence graph it should not come again to itself
      .
      .
      hope doubt is clear

    • @fastio8489
      @fastio8489 4 года назад +4

      That's true. The schedule isn't serial but is definitely serializable. Should have come up with a better e.g.

    • @prathamyadav3105
      @prathamyadav3105 4 года назад +8

      @@fastio8489 yeah instead of r(b) and w(b) at last in t1, he could have shown r(a) and w(a) again.

    • @atishsinhaa
      @atishsinhaa 7 месяцев назад

      Well said

  • @kirtisharma4697
    @kirtisharma4697 5 лет назад +30

    Thanks Sir .... My ugc Net xam is on 4th Dec...need ur blessings Sir 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @panditsanjay7762
    @panditsanjay7762 4 года назад +5

    No words for explanation! fabulous sir keep it up ....

  • @sachalraja1054
    @sachalraja1054 3 года назад +1

    aise kese dedun...xD MAST EXPLANATION

  • @AnkitPatelRewa8821
    @AnkitPatelRewa8821 2 года назад +1

    Wonderful Explain Nation Topic Sir 🖤🖤😊

  • @hakimabahnu7722
    @hakimabahnu7722 Год назад +1

    Just amazing.. ✨

  • @KapilKumar-xz9ip
    @KapilKumar-xz9ip 8 месяцев назад

    Amazing video sir ♥️

  • @prachid3990
    @prachid3990 3 года назад +7

    Inn transactions ko mahila kisne bana dia? :p
    Continously watching your videos sir, amazing content!!

  • @anishjoshi1999
    @anishjoshi1999 3 года назад +4

    love from nepal

  • @abhaychanana7240
    @abhaychanana7240 Год назад

    Really simple and fine explanation.

  • @ashstories6489
    @ashstories6489 Год назад

    best lecture sir

  • @happycoding5163
    @happycoding5163 4 года назад +1

    understood each and everything...!!!!!

  • @PrajaBewithMe
    @PrajaBewithMe 11 месяцев назад

    good explanation sir

  • @tusharpanchal7013
    @tusharpanchal7013 Год назад

    This was a great one ❤️

  • @akarshitkumar6744
    @akarshitkumar6744 3 года назад +7

    sir according to precednce graph transactions are conflict serializable

  • @SanjanaRamya-hd5kw
    @SanjanaRamya-hd5kw 10 месяцев назад

    00:01 Shared exclusive locking may not always guarantee serializability
    01:30 Concurrent protocol and serializable schedule
    02:45 Exclusive and shared locks are used in transactions to achieve serializability.
    04:07 Exclusive and shared locks in a transaction.
    05:30 Deadlock is a situation where two or more processes are waiting for each other to release resources.
    06:59 Deadlock is a special case where exclusive locks lead to a deadlock problem
    08:24 Starvation and waiting in lock methodology
    09:40 Shared exclusive lock is a protocol to manage locks

  • @krishanudutta2943
    @krishanudutta2943 3 года назад +1

    Excellent lecture it was sir

  • @animationcrust1993
    @animationcrust1993 4 года назад

    Good explanation sir ji 😊❤️

  • @Rehan_kashmari_7
    @Rehan_kashmari_7 2 года назад

    Superb sir thank you so much

  • @Draxper
    @Draxper 3 года назад

    Thanks sir, very helpful video

  • @geetahoodakids660
    @geetahoodakids660 5 лет назад

    Great explanation sir g thank you

  • @SarveshTravelDiaries
    @SarveshTravelDiaries 4 года назад

    thanks sir.....great explaination

  • @priyankabuqrdwaj4964
    @priyankabuqrdwaj4964 4 года назад

    thank you so much sir for your kind information

  • @dileshchouhan9527
    @dileshchouhan9527 5 месяцев назад

    i have doubt after 1:42 timestamp like how it is loop so in T1 w(a) and T2 r(a) is right ,this make arrow but T2 r(a) how it will make arrow because in T1 there is no w(a) after the timeline of T2 r(a).

  • @AshishKumar-zx6zz
    @AshishKumar-zx6zz 2 года назад

    Sir pehle T1 me 2:10 me x lock lagaye, further unclock kiye 2:39 me.
    Ab lock release ho rhe h to phir lock kaise lag gya 2:58

  • @komalgupta356
    @komalgupta356 5 лет назад

    Thank u sir. 🙏

  • @ramyach2445
    @ramyach2445 5 лет назад +1

    1st comment bhai thanks alot

  • @sheilbala9069
    @sheilbala9069 10 месяцев назад

    Genius

  • @vanshshrivastava5885
    @vanshshrivastava5885 3 года назад +1

    ty

  • @pradeexsu
    @pradeexsu 5 лет назад

    Thank u sir

  • @agx111
    @agx111 Год назад +1

    cascade rollback can also be a drawback of this ??

  • @sehrishfirdous4600
    @sehrishfirdous4600 5 лет назад

    Thanks alot sir...Plz will you make a videos about Artificial Intelligence and object oriented Analysis and design ..

  • @gulnazsiddiqui4473
    @gulnazsiddiqui4473 5 лет назад +1

    You are great teacher..... Plz make a video on multilevel security, data mining, clustring my exam tnearst

  • @diplukdas
    @diplukdas Год назад +12

    Need 3x option in youtube

  • @myview9553
    @myview9553 3 года назад

    3:20 ye serializable ni hoga, B to alg h !!!
    although your videos are suberb but i have a doubt on this. can someone please explain

    • @mohithguptakorangi1766
      @mohithguptakorangi1766 3 года назад +1

      you can take R(A) & W(A) in T1 at the bottom instead of R(B) & W(B) OR Add R(A) & W(A) at the bottom of T1
      He was in a hurry and explained it wrong I guess

  • @lakshayjain4857
    @lakshayjain4857 2 года назад

    Sir sometimes read happens from database or sometimes happens from another transaction even when it is not committed like in problem 2

  • @ShubhamJadhao-b3p
    @ShubhamJadhao-b3p 8 месяцев назад

    🙏🙏🙏

  • @zaynkhan464
    @zaynkhan464 3 года назад

    Is it possible to issue a read lock again to same object when previous read lock is in contact. And there is never release lock mechanism?

  • @sparks8754
    @sparks8754 3 года назад +1

    7:23, I don't know why I am laughing so hard

  • @gauravbhosle281
    @gauravbhosle281 4 года назад

    Sir, cascading rollback bhi ho sakta hai esme

  • @sakshipabrekar8872
    @sakshipabrekar8872 Год назад

    sir who both are requesting to unlock ? G x(A) and G x(B) ?

  • @adarshagrawal6855
    @adarshagrawal6855 4 года назад

    irrecoverrable or casacadeless ne diff kya h?

  • @55_hetpatel74
    @55_hetpatel74 2 года назад

    waah

  • @chiragjaiswal9387
    @chiragjaiswal9387 3 года назад +1

    kuch nh smjhaaa firse dekhna paregaaa😂

  • @KumarAnalytic
    @KumarAnalytic 5 лет назад

    Sir SQL server me replication and not for replication pr tutorial banao

  • @vkjvivek7
    @vkjvivek7 4 года назад

    1:36 (ruclips.net/video/UsqtDD1VriY/видео.html)
    So if T2 is executed first and then T1 as they both are concurrent we dont know which one is selected by query engine.
    this will make it serializable or not?

  • @ankitmehta4133
    @ankitmehta4133 4 года назад

    i was going to skip this topic, but my gf told me take the idea from gate smashers , now I got it well
    thanks man
    continuing all your vidoes.
    next i will start OS

  • @meetbhardiwala1472
    @meetbhardiwala1472 Год назад

    isme bhi kabhi bol raha ki ek jagah access nahi denge aur usi same case mein bol raha hai ki wait karega

  • @VickyKumar-si5lb
    @VickyKumar-si5lb 10 месяцев назад

    Ghh

  • @rdxgladion4906
    @rdxgladion4906 6 месяцев назад

    T1 ke sath sahi nhi hua

  • @ashupipalia6046
    @ashupipalia6046 5 лет назад +1

    thanks sir

  • @simasingh5587
    @simasingh5587 5 лет назад

    thank you sir

  • @GauravSingh-wp6gx
    @GauravSingh-wp6gx 4 года назад

    Thanks sir

  • @dhaneshpt8641
    @dhaneshpt8641 4 года назад

    Thank you sir.

  • @prashreetiwasti7264
    @prashreetiwasti7264 3 года назад

    Thank you sir

  • @viralvideoa
    @viralvideoa 3 года назад +1

    Thank you sir

  • @divyaagarwal3091
    @divyaagarwal3091 2 года назад

    Thankyou sir