# US 9,355,128 B2 · Using a sequence object of a database

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

- Number: US 9,355,128 B2
- Document ID: US9355128B2
- Status: Granted
- Kind: B2
- Application number: 14/290,035
- Filed: 2014-05-29
- Published: 2015-10-08
- Granted: 2016-05-31
- Earliest claimed: 2014-04-02
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Robert J. Bestgen; Daniel E. Beuch
- Web page: https://patentgrep.com/patent/US9355128B2

## CPC

- G06F 16/21: Design, administration or maintenance of databases
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and system of managing a database is disclosed. The database may be structured to include a sequence object. The sequence object can have a set of sequential values. The set of sequential values may be used as a set of key values for a set of jobs. A count of jobs accessing the sequence object may be monitored. Based on the count of jobs accessing the sequence object, a quantity of sequential values of the set of sequential values may be allocated.

## Claims

### Claim 1

A system comprising:
one or more processors to execute a set of program code instructions; and
a memory to hold the set of program code instructions, the set of program code instructions including program code configured to:
structure the database to include a sequence object having a set of sequential values for use as a set of key values for a set of jobs;
monitor a count of jobs accessing the sequence object; and
allocate, based on the count of jobs accessing the sequence object, a quantity of sequential values of the set of sequential values.

### Claim 2 (depends on 1)

The system of claim 1, wherein the count of jobs accessing the sequence object is one and the allocated quantity of sequential values is at least one.

### Claim 3 (depends on 2)

The system of claim 2, further comprising allocate, in response to a change in the count of jobs accessing the sequence object, not more than one sequential value.

### Claim 4 (depends on 3)

The system of claim 3, further comprising return, to the sequence object from a cache for a job of the set of jobs in response to allocating the quantity of sequential values to the cache for the job, at least one sequential value.

### Claim 5 (depends on 1)

The system of claim 1, wherein the count of jobs accessing the sequence object is not one and the allocated quantity of sequential values is not more than one.

### Claim 6 (depends on 5)

The system of claim 5, further comprising allocate, in response to the count of jobs accessing the sequence object changing to one, at least one sequential value.

### Claim 7 (depends on 1)

The system of claim 1, wherein monitor the count of jobs accessing the sequence object includes detect a change in the count of jobs initiating access to the sequence object and allocate the quantity of sequential values of the set of sequential values includes cache at least one sequential value for at least one job of the set of jobs.

### Claim 8 (depends on 1)

The system of claim 1, wherein accessing the sequence object includes instantiating a request for at least one sequential value within a threshold period of time.

### Claim 9 (depends on 1)

The system of claim 1, wherein allocate includes establish an event handling thread for a job of the set of jobs, the event handling thread configured to lock the sequence object, unlock the sequence object, interact with other event handling threads, and apportion sequential values.
