# US 2003/0217068 A1 · Method, system, and program for managing database operations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0217068 A1
- Document ID: US20030217068A1
- Status: Published application
- Kind: A1
- Application number: 10/150,209
- Filed: 2002-05-16
- Published: 2003-11-20
- Earliest claimed: 2002-05-16
- Assignees: International Business Machines Corporation
- Inventors: Barry Fruchtman; William John Scheid III
- Web page: https://patentgrep.com/patent/US20030217068A1

## CPC

- G06F 16/2343: {Locking methods, e.g. distributed locking or locking implementation details}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are a method, system, and program for performing database operations. A request is received to access database resources from a client over a network. An entry is added to a monitor list indicating a last access time to the database by the client, wherein the entry is associated with an access of database resources in response to the received request. The monitor list is scanned to determine an entry where a difference of a current time and last access time exceeds a timeout threshold. A calling a function is indicated in the entry. The function causes an abort operation to be performed to terminate the access of database resources associated with the determined entry.

## Claims

### Claim 1

A method for performing database operations, comprising:
receiving a request to access database resources from a client over a network;
adding an entry to a monitor list indicating a last access time to the database by the client, wherein the entry is associated with an access of database resources in response to the received request;
scanning the monitor list to determine an entry where a difference of a current time and last access time exceeds a timeout threshold; and
calling a function indicated in the entry, wherein the function causes an abort operation to be performed to terminate the access of database resources associated with the determined entry.

### Claim 2 (depends on 1)

The method of claim 1, wherein the called function invokes the abort operation on a server including the database resources, and wherein the abort operation releases the database resources associated with the determined entry.

### Claim 3 (depends on 1)

The method of claim 1, wherein the called function invokes the abort operation on the client, and wherein the abort operation releases the database resources associated with the determined entry.

### Claim 4 (depends on 1)

The method of claim 1, wherein the client access of database resources comprises:
modifying records in the database.

### Claim 5 (depends on 1)

The method of claim 1, wherein the access of database resources includes accessing a lock to at least one database resource, and the abort operation releases a lock to enable another client to access the database resources.

### Claim 6 (depends on 1)

The method of claim 1, wherein the access of database resources comprises initiating a transaction with respect to the database, and wherein releasing the database resources comprises terminating the transaction to return the accessed database resources to a pre-transaction state.

### Claim 7 (depends on 6)

The method of claim 6, wherein the transaction comprises the client modifying at least one record in the database.

### Claim 8 (depends on 1)

The method of claim 1, wherein the entries in the list are associated with database access requests from multiple clients over the network.

### Claim 9 (depends on 1)

The method of claim 1, wherein different timeout periods are used for accesses of different database resources.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving indication that the client performed an operation with respect to the database resource associated with one entry; and
updating the last access time for that entry to indicate the last operation performed by the client with respect to the database resource.

### Claim 11 (depends on 1)

The method of claim 1, wherein the database comprises a backup database indicating backup objects backed-up by the client, and wherein the client comprises a storage agent performing backup operations transmitted from a backup client program.

### Claim 12 (depends on 11)

The method of claim 11, wherein the client backs up the object in a backup storage and wherein accessing the backup database comprises adding a record to the database providing information on the object backed up.

### Claim 13 (depends on 1)

The method of claim 1, wherein the client accesses database resources by executing transactions against the database directly over the network.

### Claim 14 (depends on 1)

The method of claim 1, wherein the client accesses database resources by submitting transactions to a database server to execute the transactions against the database.

### Claim 15

A system for performing database operations, wherein a client communicates database access requests over a network, comprising:
a computer readable medium including database resources;
means for receiving a request to access database resources from a client over a network;
means for adding an entry to a monitor list in the computer readable medium indicating a last access time to the database by the client, wherein the entry is associated with an access of database resources in response to the received request;
means for scanning the monitor list to determine an entry where a difference of a current time and last access time exceeds a timeout threshold; and
means for calling a function indicated in the entry, wherein the function causes an abort operation to be performed to terminate the access of database resources associated with the determined entry.

### Claim 16 (depends on 15)

The system of claim 15, further comprising:
a server including the computer readable medium having the database resources and the monitor list, wherein the server and the client communicate over the network, wherein the called function invokes the abort operation on the server, and wherein the abort operation releases the database resources associated with the determined entry.

### Claim 17 (depends on 15)

The system of claim 15, wherein the called function invokes the abort operation on the client, and wherein the abort operation releases the database resources associated with the determined entry.

### Claim 18 (depends on 15)

The system of claim 15, wherein the client access of database resources comprises:
modifying records in the database.

### Claim 19 (depends on 15)

The system of claim 15, wherein the access of database resources includes accessing a lock to at least one database resource, and wherein the abort operation includes releasing the lock to enable another client to access the database resources

### Claim 20 (depends on 15)

The system of claim 15, wherein the access of database resources comprises initiating a transaction with respect to the database, and wherein releasing the database resources comprises terminating the transaction to return the accessed database resources to a pre-transaction state.

### Claim 21 (depends on 21)

The system of claim 21, wherein the transaction comprises the client modifying at least one record in the database.

### Claim 22 (depends on 15)

The system of claim 15, wherein the entries in the list are associated with database access requests from multiple clients over the network.

### Claim 23 (depends on 15)

The system of claim 15, wherein different timeout periods are used for accesses of different database resources.

### Claim 24 (depends on 15)

The system of claim 15, further comprising:
means for receiving indication that the client performed an operation with respect to the database resource associated with one entry; and
means for updating the last access time for that entry to indicate the last operation performed by the client with respect to the database resource.

### Claim 25 (depends on 15)

The system of claim 15, wherein the database comprises a backup database indicating backup objects backed-up by the client, and wherein the client comprises a storage agent performing backup operations transmitted from a backup client program.

### Claim 26 (depends on 25)

The system of claim 25, wherein the client backs up the object in a backup storage and wherein accessing the backup database comprises adding a record to the database providing information on the object backed up.

### Claim 27 (depends on 15)

The system of claim 15, wherein the client accesses database resources by executing transactions against the database directly over the network.

### Claim 28 (depends on 15)

The system of claim 15, wherein the client accesses database resources by submitting transactions to a database server to execute the transactions against the database.

### Claim 29

An article of manufacture for performing database operations, wherein the article of manufacture causes operations to be performed, the operations comprising:
receiving a request to access database resources from a client over a network;
adding an entry to a monitor list indicating a last access time to the database by the client, wherein the entry is associated with an access of database resources in response to the received request;
scanning the monitor list to determine an entry where a difference of a current time and last access time exceeds a timeout threshold; and
calling a function indicated in the entry, wherein the function causes an abort operation to be performed to terminate the access of database resources associated with the determined entry.

### Claim 30 (depends on 29)

The article of manufacture of claim 29, wherein the called function invokes the abort operation on a server including the database resources, and wherein the abort operation releases the database resources associated with the determined entry.

### Claim 31 (depends on 29)

The article of manufacture of claim 29, wherein the called function invokes the abort operation on the client, and wherein the abort operation releases the database resources associated with the determined entry.

### Claim 32 (depends on 29)

The article of manufacture of claim 29, wherein the client access of database resources comprises:
modifying records in the database.

### Claim 33 (depends on 29)

The article of manufacture of claim 29, wherein the access of database resources includes accessing a lock to at least one database resource, and the abort operation releases a lock to enable another client to access the database resources.

### Claim 34 (depends on 29)

The article of manufacture of claim 29, wherein the access of database resources comprises initiating a transaction with respect to the database, and wherein releasing the database resources comprises terminating the transaction to return the accessed database resources to a pre-transaction state.

### Claim 35 (depends on 34)

The article of manufacture of claim 34, wherein the transaction comprises the client modifying at least one record in the database.

### Claim 36 (depends on 29)

The article of manufacture of claim 29, wherein the entries in the list are associated with database access requests from multiple clients over the network.

### Claim 37 (depends on 29)

The article of manufacture of claim 29, wherein different timeout periods are used for accesses of different database resources.

### Claim 38 (depends on 29)

The article of manufacture of claim 29, further comprising:
receiving indication that the client performed an operation with respect to the database resource associated with one entry; and
updating the last access time for that entry to indicate the last operation performed by the client with respect to the database resource.

### Claim 39 (depends on 29)

The article of manufacture of claim 29, wherein the database comprises a backup database indicating backup objects backed-up by the client, and wherein the client comprises a storage agent performing backup operations transmitted from a backup client program.

### Claim 40 (depends on 39)

The article of manufacture of claim 39, wherein the client backs up the object in a backup storage and wherein accessing the backup database comprises adding a record to the database providing information on the object backed up.

### Claim 41 (depends on 29)

The article of manufacture of claim 29, wherein the client accesses database resources by executing transactions against the database directly over the network.

### Claim 42 (depends on 29)

The article of manufacture of claim 29, wherein the client accesses database resources by submitting transactions to a database server to execute the transactions against the database.
