# US 2008/0222089 A1 · Set function calculation in a database

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

- Number: US 2008/0222089 A1
- Document ID: US20080222089A1
- Status: Published application
- Kind: A1
- Application number: 11/715,263
- Filed: 2007-03-06
- Published: 2008-09-11
- Earliest claimed: 2007-03-06
- Assignees: NitroSecurity, Inc.
- Inventors: Howard D. Stewart; Kenneth Russell; Paul H. Whittington
- Web page: https://patentgrep.com/patent/US20080222089A1

## CPC

- G06F 16/24554: {Unary operations; Data partitioning operations}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A database system uses indexes to improve performance. The system can use one or more of the following: differentiated subfields for index clustering; set function calculations to reduce the amount of I/O; and/or using an inferred index in a circular table.

## Claims

### Claim 1

A method of calculating a set function, including criteria, defined against fields in a table in a database comprising:
creating an index list with positional counters in its nodes from at least one of the fields;
traversing the index list and finding values of the index consistent with the criteria;
calculating the set function from the positional counter of the index.

### Claim 2 (depends on 1)

The method of claim 1, wherein some of the values stored in the index are used in calculating the set function.

### Claim 3 (depends on 1)

The method of claim 1, wherein the index is a multi-field index.

### Claim 4 (depends on 3)

The method of claim 3, wherein the set function includes the COUNT function and wherein at least one of the fields in the multi-field index is the COUNT field.

### Claim 5 (depends on 3)

The method of claim 3, wherein the set function includes a calculation based on a numerical field in the table and wherein at least one of the fields in the multi-field index is the numerical field.

### Claim 6 (depends on 3)

The method of claim 3, wherein at least one of the fields in the multi-field index is one of the fields in the criteria.

### Claim 7 (depends on 3)

The method of claim 3, wherein the multi-field index comprises of subfields of a field in the table.

### Claim 8 (depends on 7)

The method of claim 7, wherein the subfields are defined based on criteria in the set function.

### Claim 9 (depends on 6)

The method of claim 6, wherein the table includes a time field, and wherein the criteria includes a time criterion, and wherein at least one of the fields in the multi-field index is derived from the time field.

### Claim 10 (depends on 9)

The method of claim 9, wherein subfields of the time field, chosen based on the time criterion, are included in the multi-field index.

### Claim 11 (depends on 3)

The method of claim 3, wherein the multi-field index includes fields not relevant to the criteria.

### Claim 12 (depends on 11)

The method of claim 11, wherein in the multi-field index the fields not relevant to the criteria precede fields relevant to the criteria.

### Claim 13 (depends on 1)

A computer readable medium having computer-executable instructions for the method recited in claim 1.
