Patent · US Active

Providing cost model data for tuning of query cache memory in databases

US7502775B2 · kind B2 · utility

4Cited by
11References
12Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMar 31, 2006
Grant dateMar 10, 2009
Priority date
Expiry dateJan 25, 2027

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99953
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Providing cost model data for tuning query cache memory size in database systems. In one aspect, a query is received, and a query cache is checked for a stored query matching the received query. In response to a cache miss occurring, a token representing the received query is generated and checked for matching a token stored in a simulation area, each stored token representing a query object previously evicted from the query cache. A processing time saved by an avoidance of the cache miss is determined, and a cache size needed to avoid the cache miss is determined only when the generated token matches a stored token, by summing sizes of all query objects represented by the stored tokens. Each stored token is included in a stub that also includes the size of the represented query object and an identification number indicating a stored order.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.