×

Detecting and processing cache hits for queries with aggregates

  • US 9,563,662 B2
  • Filed: 10/31/2007
  • Issued: 02/07/2017
  • Est. Priority Date: 06/27/2002
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer-usable storage medium storing instructions executable by a processor, said instructions comprising:

  • a first set of instructions configured to maintain a select list index of a plurality of cached queries, whereinsaid select list index comprises key field entries and data item field entries,said select list index stores one or more unique items,each of said one or more unique items is extracted from a clause of a statement of at least one cached query of said plurality of cached queries,said plurality of cached queries are stored in a cache,each key field entry stores a unique item of said one or more unique items,said each key field entry is associated with a corresponding data item field entry of said data item field entries,said corresponding data item field entry is configured to store information identifying said at least one cached query that comprises said unique item stored in said each key field entry, andat least one of said one or more unique items comprises a precomputed aggregate from a previously cached query; and

    a second set of instructions configured to determine a list of candidate queries configured to be used to answer a new query that includes at least a first unique item and a second unique item, whereinthe list of candidate queries is determined based on an intersection of a first set of cached queries that include the first unique item and a second set of cached queries that include the second unique item.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×