Deadlock handling in transaction |DBMS|

                        Deadlock handling in transcation

  • A system is in deadlock state if there exists a set of transaction such that every transaction in the set is waiting for another transaction in the set.
  • If there exists a set of waiting transaction T0, T1_ _ _ _, Tn-1 such that T0-->T1, T1-->T2, _ _ _ _, Tn-1-->T0 so none transaction can progress in such situation.
  • System must have proper method to deal with deadlock otherwise,
           1. In real time system it may lead to life and money.
           2. Will reduce resource utilisation and
              Inefficiency.

There are two principle for dealing with deadlock.
1. Prevantion -- which ensure that system will never enter into deadlock state.

2. Detection and recovery --  allow system to enter into deadlock and try to recover.
Thank you viewers.
This is published by soumy Sinha..
       

Comments

Popular posts from this blog

Introduction of Digital computer

INTRODUCTION OF DBMS

Introduction to cache memory