1. ËøµÄÎåÖÖÀàÐÍ
(1) Exclusive(*EXCL): Ö»ÓиÃËøµÄ·¾¶Ñ¡Ôñ¹ý³Ì(routing step)²Å¿ÉÄÜʹÓøöÔÏó£»
ÔÚÆäËûÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³Ì²»ÄÜ´æÈ¡¸Ã¶ÔÏó¡£
(2) Exclusive-allow-read(*EXCLRD): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³Ì¿ÉÄܶÁ»ò¸üиöÔÏó£¬
¶øÆäËûÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³ÌÖ»ÄܶÁËü¡£
(3) Shared-for-update(*SHRUPD): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³ÌÒÔ¼°ÔÚÆäËûÈÎÎñÖеÄ·¾¶
Ñ¡Ôñ¹ý³ÌÊÇ¿ÉÒÔ¶Á»ò¸üиöÔÏó¡£
(4) Shared-no-update(*SHRNUP): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³ÌÖ»¿ÉÒÔ¶Á¸Ã¶ÔÏ󣻶øÔÚÆäËû
ÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³ÌÒ²ÊÇÖ»¶Á¸Ã¶ÔÏó¡£
(5) Shared-for-read(*SHRRD): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³ÌÖ»¿ÉÒÔ¶Á¸Ã¶ÔÏ󣻶øÔÚÆäËû
ÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³ÌÊÇ¿ÉÒÔ¶Á»ò¸üиöÔÏó¡£
2. ȱʡÇé¿öÏ£¬CLºÍHLL(¸ß¼¶ÓïÑÔ³ÌÐò£©³ÌÐòÖ»ÔÚÊäÈë(I)ÎïÀíÎļþ³ÉÔ±µÄÊý¾ÝÉÏ·ÅÖÃ*SHRRDËø£¬²¢ÔÚÖ»Êä³ö(O)ºÍÊäÈë-Êä³ö(U)ÎïÀíÎļþ³ÉÔ±µÄÊý¾ÝÉÏ·ÅÖÃ*SHRUPDËø¡£
ºóÃæÕâÒ»¾ä²»ÊǺÜÀí½â£¬ÎªÊ²Ã´O/UÀàÐ͵ÄÎļþ²»·Å*EXCLRDËøÄØ£¿¸öÈËÀí½âÓ¦ÊÇÖ»ÔÊÐíµ±Ç°³ÌÐò¸üУ¬ ±ðµÄ³ÌÐòÖ»ÄܶÁ¡£ÐèÒª¸ßÊÖÖ¸½Ì£¡
3. ÏÔʾ¶ÔÏó(object)ºÍ¼Ç¼(record)µÄËøÓÐÈý¸öÃüÁ
(1) wrkobjlck: ²é¿´ÓÉËùÓÐÈÎÎñÔÚÒ»¸ö¶ÔÏóÉÏʹÓõÄlock¡£
(2) dsprcdlck(display record locks): ²é¿´Ò»¸öÎïÀíÎļþÖÐÒÑËø¶¨µÄ¼Ç¼.
(3) dspjob: ²é¿´Ò»¸öÈÎÎñµÄËùÓÐÍⲿËø£¬°üÀ¨ÒÑʹÓõÄÄÇЩËøºÍ¸ÃÈÎÎñÕýµÈ´ýʹÓõÄÄÇЩËø¡£ |