Title :
A deadlock detection and resolution algorithm for sequential transaction processing with multiple lock modes
Author :
Park, Yoonjee C. ; Scheuermann, Peter
Author_Institution :
Dept. of Comput. Sci., Ulsan Univ., Kyungnam, South Korea
Abstract :
An algorithm for deadlock detection and resolution in sequential transaction processing is presented. Two-phase locking is assumed for ensuring serializability, the lock requests obey the granularity locking protocol, and each granule may be locked in one of the following lock modes: IS, IX, S, SIX and X. For each object, lock requests are honored according to a first-come-first-served basis except for lock conversions. The basic idea for the deadlock detection resolution is in the construction of a new direct graph called a holder/waiter-transaction waited-by graph. The authors establish guidelines for the identification of a victim in a deadlock cycle and propose a resolution algorithm whose time and space requirements are reasonable and whose solution is near optimal
Keywords :
computational complexity; concurrency control; database management systems; database theory; directed graphs; transaction processing; deadlock cycle; deadlock detection algorithm; deadlock resolution algorithm; direct graph; first-come-first-served; granularity locking protocol; holder/waiter-transaction waited-by graph; lock conversions; lock requests; multiple lock modes; sequential transaction processing; serializability; two phase locking; victim identification; Computer science; Data structures; Delay; Guidelines; Laser mode locking; Object detection; Phase detection; Protocols; System recovery; Transaction databases;
Conference_Titel :
Computer Software and Applications Conference, 1991. COMPSAC '91., Proceedings of the Fifteenth Annual International
Conference_Location :
Tokyo
Print_ISBN :
0-8186-2152-4
DOI :
10.1109/CMPSAC.1991.170154