Device and method for acquiring resource lock
AssigneeInternational Business Machines Corporation
InventorNoriaki Kohno
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorNoriaki Kohno
Estimating the term…
A lock control device receives a lock acquisition request from an application and transmits a lock acquisition request to a DBMS, receives a lock acquisition response from the DBMS, and transmits a lock acquisition response to the application, and each time, acquires statistical time information including the lock request counter, subsequent lock request counter, lock request time, lock acquisition time, initial lock acquisition time, and subsequent lock request time. The statistical processing device calculates the lock request count for each resource, subsequent lock request count for each resource, average lock wait time, and average lock acquisition delay expectation time, based on the statistical time information. Based on these values, the statistical processing device calculates an evaluation value which is the degree of expectation for the time eliminated from the lock wait time when lock acquisition is postponed, and outputs the lock order of the resources arranged in order of smallest evaluation value to a lock order table.
A device for acquiring resource locks for a plurality of resources in a specific order, comprising:
A device for acquiring resource locks for a plurality of resources in a specific order for a plurality of resources, comprising:
A method for acquiring resource locks for a plurality of resources in a specific order for a plurality of resources, comprising:
A program stored on a non-transitory storage device, which when executed by a computing device, performs a method for acquiring resource locks for a plurality of resources in a specific order for a plurality of resources, the method comprising:
Dependencies are inferred from the claim text.