# US 8,577,858 B2 · Data retrieval apparatus, data retrieval method, and program

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

- Number: US 8,577,858 B2
- Document ID: US8577858B2
- Status: Granted
- Kind: B2
- Application number: 13/312,838
- Filed: 2011-12-06
- Published: 2012-06-14
- Granted: 2013-11-05
- Earliest claimed: 2010-12-13
- Assignees: Canon Kabushiki Kaisha
- Applicants: Kunihiko Miyoshi
- Inventors: Kunihiko Miyoshi
- Web page: https://patentgrep.com/patent/US8577858B2

## CPC

- G06F 16/2453: Query optimisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data retrieval apparatus selects data to be retained in a cache so that a cache created in retrieval at a previous stage is reused in retrieval at a later stage, and implements retrieval processing to enhance a reusability of retrieved data and upgrade a response speed.

## Claims

### Claim 1

A data retrieval apparatus comprising:
a retrieval condition input unit configured to accept a retrieval condition including an attribute and an attribute value;
a holding control unit configured to cause a holding unit to retain an index of the attribute acquired from a database corresponding to the retrieval condition; and
an analysis unit configured to analyze a hit ratio as reusability of the index of the attribute of the holding unit from a number of usage times of the attribute value accepted for the retrieval condition,
wherein the holding control unit causes the holding unit to preferentially retain the index of the attribute which is analyzed and found to have the reusability by the analysis unit.

### Claim 2 (depends on 1)

The data retrieval apparatus according to claim 1 wherein the analysis unit acquires storage positions of the attribute values within an index and analyzes a degree of the storage position change.

### Claim 3 (depends on 2)

The data retrieval apparatus according to claim 2 wherein if a retrieval condition input from the retrieval condition input unit is mixed with a retrieval condition using a dynamic bind variable and a retrieval condition using a static variable, the holding control unit causes the holding unit to retain an index of attribute corresponding to the retrieval condition of the static variable.

### Claim 4 (depends on 1)

The data retrieval apparatus according to claim 1 wherein the analysis unit obtains appearance frequencies of the attribute values, and analyzes the appearance frequencies while referring to a threshold value.

### Claim 5 (depends on 4)

The data retrieval apparatus according to claim 4 wherein the analysis unit obtains a maximum value of the appearance frequencies.

### Claim 6 (depends on 4)

The data retrieval apparatus according to claim 4 wherein the analysis unit obtains an average value of appearance frequencies of the attribute values in the attributes.

### Claim 7 (depends on 1)

The data retrieval apparatus according to claim 1 wherein a retrieval condition input from the retrieval condition input unit is bind variables.

### Claim 8

A data retrieval method comprising:
inputting retrieval condition to accept a retrieval condition including an attribute and an attribute value;
retaining an index of the attribute acquired from a database corresponding to the retrieval condition;
analyzing a hit ratio as reusability of the retained the index of the attribute from a number of usage times of the attribute value accepted for the retrieval condition,
wherein the index of the attribute which is analyzed and found to have the reusability is preferentially retained.

### Claim 9

A non-transitory computer-readable storage medium storing a program for causing a computer to implement a data retrieval method, the method comprising:
inputting retrieval condition to accept a retrieval condition including an attribute and an attribute value;
retaining an index of the attribute acquired from a database corresponding to the retrieval condition;
analyzing a hit ratio as reusability of the retained the index of the attribute from a number of usage times of the attribute value accepted for the retrieval condition,
wherein the index of the attribute which is analyzed and found to have the reusability is preferentially retained.
