home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 3 / Developers_Source_Vol_03_1996.iso / dbprd / may95 / burl13.gif < prev    next >
Graphics Interchange Format  |  1995-09-26  |  48.4 KB  |  335x459  |  8-bit (166 colors)
   ocr: TASK A TASK B LOCK MANAGER Waiting for Waiting for release of release of RID 2001 by RID4221 by TASK B TASK A 1.Task A issues Select"from Employee; (1000 shared locks set) 2.Task B issues Update employee set salary= salary1.1; (waits for Task. a to release its shared locks) 3.Task A now issues Update employee set bonus llag =1;( (Task. A now waits for the exclusive locks set by TASK B1 to release, unaware that Task. Ai is waiting on its own locks) FIGURE 3. Database deadlocks (the perpetual embrace).