Invention Grant
- Patent Title: Detecting and processing cache hits for queries with aggregates
- Patent Title (中): 检测和处理具有聚合的查询的缓存命中
-
Application No.: US11931947Application Date: 2007-10-31
-
Publication No.: US09563662B2Publication Date: 2017-02-07
- Inventor: Donovan Alfred Schneider , Edward Shaw-Lee Suen , Kazi Atif-Uz Zaman
- Applicant: Donovan Alfred Schneider , Edward Shaw-Lee Suen , Kazi Atif-Uz Zaman
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Sheppard Mullin Richter & Hampton LLP
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30

Abstract:
Techniques to improve query caching performance by efficiently selecting queries stored in a cache for evaluation and increasing the cache hit rate by allowing for inexact matches. A list of candidate queries stored in the cache that potentially could be used to answer a new query is first determined. This list may include all cached queries, cached queries containing exact matches for select list items, or cached queries containing exact and/or inexact matches. Each of at least one candidate query is then evaluated to determine whether or not there is a cache hit, which indicates that the candidate query could be used to answer the new query. The evaluation is performed using a set of rules that allows for inexact matches of aggregates, if any, in the new query. A query plan is generated for the new query based on a specific candidate query with a cache hit.
Public/Granted literature
- US20080077557A1 Detecting and processing cache hits for queries with aggregates Public/Granted day:2008-03-27
Information query