Simple 2 - Phase Locking Protocol | Concurrency Control

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

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

  • @cristinadiaz64
    @cristinadiaz64 8 лет назад +5

    Love your videos. Thank you for making the Advance Database Systems class I'm in a little bit easier!

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

    Im watching all ur videos for serializability. You are the best man! Thanks a lot :)

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

    thank u very much for these wonderful videos

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

    Thank you so much, your explaination is simple and easy to understand!

  • @diwaspoudel7
    @diwaspoudel7 8 лет назад

    thanx sir.... your video is better than boring class lectures...

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

    very well explained, you helped me understand the subject, thank you very much.😀

  • @DevvOscar
    @DevvOscar 8 лет назад +32

    ok

  • @Robbebeest
    @Robbebeest 7 лет назад

    This video helped me very much understanding the subject. Thank you.

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

    May I Know what is the software you are using to teach?

  • @shubhamlokhande5556
    @shubhamlokhande5556 8 лет назад

    Sir , only cz of u ..I cleared my concepts . Thanx a lot sir :-)

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

    Very well explain..

  • @ashishm8413
    @ashishm8413 7 лет назад

    Very well explained. Thanks!

  • @pragadeeswaran8030
    @pragadeeswaran8030 7 лет назад

    hii bro
    yours video is just awesome to understand new concept of dbms. i am very much attracted to your presentations.. i like to know wt kinda appln you are using to make this video.

  • @nasarpes
    @nasarpes 8 лет назад

    @ time 5:20 , you said we have to downgrade the lock from exclusive to share to read... ok
    but in previous lecture (last example T1 : A --> B) you said exclusive lock is used to read as well as write.
    What does it mean?

    • @Naveen-ob1eg
      @Naveen-ob1eg 8 лет назад +1

      Because when there is a exclusive lock placed on the data element by a transaction, and another transaction request a shared lock to read the data element the request will not be granted. Because write and read are conflicting operations. Thus we down grade the lock to shared lock (read operation) because read-read are not conflicting.

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

    What’s the software used for writing…

  • @TheMercenary1000
    @TheMercenary1000 7 лет назад +1

    Thank you for the video my beautiful friend :)

  • @KaustubhAmle
    @KaustubhAmle 8 лет назад +1

    you should have given an example on cascading rollback happening, when 2PL is used

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

      here's a good explanation
      ruclips.net/video/L_JsPRORLfo/видео.html

  • @subhajitmajumder1215
    @subhajitmajumder1215 8 лет назад

    here you are upgrading and downgrading on data under same transaction,and in the previous video it was on different transactions@subhajit khan

  • @dheervaryani5873
    @dheervaryani5873 7 лет назад +1

    How is cascading roll back possible in simple 2pl please give examples!

    • @parasgoyal8588
      @parasgoyal8588 7 лет назад

      Dheer Varyani cascading rollback is definitely possible because.. assume a transaction lock some data item and perform operation and then unlock it in second phase thus making it available to be used by some another transaction but then transaction first fails and rollback.. this lead to cascading rollback of second transaction too as it uses data that has been modified by transaction one...
      Hope you understand

  • @subhajitkhan8968
    @subhajitkhan8968 8 лет назад +1

    sir, in previous lecture you have said that if there exist exclusive lock on a data item,then we can not use shared lock on this same data item ..but here you are useing it in " lock upgrade /downgrade" part ....i am confused ......please explain ...

    • @subhajitmajumder1215
      @subhajitmajumder1215 8 лет назад +1

      here you are upgrading and downgrading on data under same transaction,and in the previous video it was on different transactions@subhajit khan

    • @chipsnblaze4818
      @chipsnblaze4818 8 лет назад

      He is giving arbitrary locking examples. You can never apply any lock on a pre existing exclusive lock unless the lock has been removed.
      Hope this helps

  • @aditidede9243
    @aditidede9243 6 лет назад +1

    anyone up here in 2018