×

Method for non-hierarchical lock management in a multi-system shared data environment

  • US 5,551,046 A
  • Filed: 07/07/1994
  • Issued: 08/27/1996
  • Est. Priority Date: 06/14/1991
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for non-hierarchical locking of data resources in a shared data system including multiple database management systems (DBMS) connected to one or more data storage devices and to a global lock manager, the global lock manager receiving and granting requests for locks,each DBMS including a data cache, a cache manager, and a local lock manager for receiving, processing, and granting requests for a first type of lock (L lock) that serializes transaction access to data resources and for a second type of lock (P lock) for caching of a data resource in the cache,the method including the steps of:

  • providing a request from a transaction to a local lock manager of a DBMS for an L lock on a data resource, and providing a request to the local lock manager from the cache manager of the DBMS for a P lock on the data resource;

    a. responsive to receipt of either the L lock or the P lock, whichever is received first, by the local lock manager, transmitting to the global lock manager a request for a third type of lock (LP lock) that indicates interest on the part of the DBMS in the data resource, wherein said third type of lock hides from the global lock manager the type of the first received lock as being an L lock or a P lock; and

    b. upon receipt by the local manager of a grant of the LP lock from the global lock manager, the local lock manager granting the request for the L lock or the P lock whichever is first.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×