Illustration on Graph Based Protocol | Concurrency Control

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

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

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

    Suppose a T1 has locked B ,now suppose again T3 tries to lock B will that be granted?

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

    What is the comparision between 2PL and graph based protocol?

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

    is it possible to perform subsequent locking while the parent has been locked by some other transaction?

    • @junjason4114
      @junjason4114 6 ปีที่แล้ว

      It should lock the parent firstly in order to get the lock. so It must wait for the other lock to release the lock.

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

    what about lock on A...as T1 want lock on B..so i think there must be lock on A first then on B..and in the last who will unlock A.? plz explain it.

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

      According to the rule 2, he mentioned locking an item, if it is the first data item that a transaction is going to lock, protocol says that we don't need to have a lock on its parent, but if the transaction is going to lock the second item then it looks for its parent to be locked. So here in the example A need not to be locked. Because [subsequent parent needs to be locked]

  • @piyushratan9015
    @piyushratan9015 8 ปีที่แล้ว

    If transaction T1 wants to acquire another lock (say L2 ) ,the parent of L2 should be locked by same transaction T1 or not ??????????

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

    how to draw a graph based protocol

  • @saiedakbarahmady1850
    @saiedakbarahmady1850 6 ปีที่แล้ว

    what if transaction T4 asks lock on C instead of D?

    • @SEVERANCE850
      @SEVERANCE850 6 ปีที่แล้ว

      It will be granted obviously because it is first Intrsuction