# US 2008/0307009 A1 · Autonomic index creation, modification and deletion

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

- Number: US 2008/0307009 A1
- Document ID: US20080307009A1
- Status: Published application
- Kind: A1
- Application number: 12/194,240
- Filed: 2008-08-19
- Published: 2008-12-11
- Earliest claimed: 2006-06-09
- Assignees: International Business Machines Corporation
- Inventors: Mark John Anderson; Robert Joseph Bestgen; James Michael Flanagan; Scott Forstie; Thomas James Schreiber
- Web page: https://patentgrep.com/patent/US20080307009A1

## CPC

- G06F 16/2272: {Management thereof}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/901: Indexing; Data structures therefor; Storage structures (for retrieval from the web G06F16/951)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An index advice record engine generates and stores index advice records. An index advice policy mechanism allows a user to define an index advice policy that specifies criteria for autonomic index creation, modification and deletion. An autonomic index mechanism reads the index advice records, compares this information with the criteria in the user-defined index advice policies, and determines whether an index should be created, modified or deleted based on the information in the index advice records and the index advice policies. By automating the process of creating, modifying and deleting indexes according to user-defined policies, the preferred embodiments alleviate human users from most of the work of manually creating, modifying and deleting indexes.

## Claims

### Claim 1

An apparatus comprising:
at least one processor;
a memory coupled to the at least one processor;
a database residing in the memory;
a user-defined index policy residing in the memory, the user-defined index policy specifying criteria for modification of an index for the database;
an index mechanism that receives monitored activity of the database and autonomically modifies the index when the criteria specified in the user-defined index policy is satisfied by the monitored activity; and
an index advice record engine residing in the memory, the index advice record engine generating a plurality of index advice records that comprise the monitored activity of the database;
wherein the index mechanism reads the plurality of index advice records and determines whether information in the plurality of index advice records satisfies the criteria for modification of the index in the user-defined index policy, and if so, the index mechanism modifies the index.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The apparatus of claim 1 further comprising an index advice policy engine comprising a graphical user interface for receiving from a user the criteria for modification of the index.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein the user-defined index policy further specifies criteria for deleting the index, wherein the index mechanism autonomically deletes the index when the criteria for deleting the index is satisfied by the monitored activity.

### Claim 5 (depends on 1)

The apparatus of claim 1 wherein the index mechanism comprises a policy manager that allows a user to define criteria for using the user-defined index policy.

### Claim 6 (depends on 1)

The apparatus of claim 1 wherein the user-defined index policy further specifies criteria for creation of a selected index in the database, the index mechanism determining whether the selected index was autonomically created in the past, and if so, the index mechanism determines whether the selected index was beneficial in the past, and if not, the index mechanism does not create the selected index.

### Claim 7 (depends on 6)

The apparatus of claim 6 wherein the index mechanism deletes at least one index advice record that advised creation of the selected index if the selected index was not beneficial in the past.

### Claim 8

A computer-readable program product comprising:
an index mechanism that receives monitored activity of a database and autonomically modifies an index when criteria specified in a user-defined index policy is satisfied by the monitored activity;
an index advice record engine residing in the memory, the index advice record engine generating a plurality of index advice records that comprise the monitored activity of the database;
wherein the index mechanism reads the plurality of index advice records and determines whether information in the plurality of index advice records satisfies the criteria for modification of the index in the user-defined index policy, and if so, the index mechanism modifies the index; and
recordable media bearing the index mechanism.

### Claim 9

(canceled)

### Claim 10 (depends on 8)

The program product of claim 8 further comprising an index advice policy engine comprising a graphical user interface for receiving from a user the criteria for modification of the index.

### Claim 11 (depends on 8)

The program product of claim 8 wherein the user-defined index policy further specifies criteria for deleting the index, wherein the index mechanism autonomically deletes the index when the criteria for deleting the existing index is satisfied by the monitored activity.

### Claim 12 (depends on 8)

The program product of claim 8 wherein the index mechanism comprises a policy manager that allows a user to define criteria for using the user-defined index policy.

### Claim 13 (depends on 8)

The program product of claim 8 wherein the user-defined index policy further specifies criteria for creation of a selected index in the database, the index mechanism determining whether the selected index was autonomically created in the past, and if so, the index mechanism determines whether the selected index was beneficial in the past, and if not, the index mechanism does not create the selected index.

### Claim 14 (depends on 13)

The program product of claim 13 wherein the index mechanism deletes at least one index advice record that advised creation of the selected index if the selected index was not beneficial in the past.
