Invention Grant
- Patent Title: Swapping expected and candidate affinities in a query plan cache
- Patent Title (中): 在查询计划缓存中交换预期和候选亲和度
-
Application No.: US13646971Application Date: 2012-10-08
-
Publication No.: US08812489B2Publication Date: 2014-08-19
- Inventor: Rafal P. Konik , Roger A. Mittelstadt , Brian R. Muras , Mark W. Theuer
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Kevin D. Kehe; James R. Nock
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/00

Abstract:
In an embodiment, a hit percentage of an expected affinity for a first query is calculated, wherein the expected affinity comprises a first address range in a query plan cache, a hit percentage of a candidate affinity for the first query is calculated, wherein the candidate affinity comprises a second address range in a query plan cache, and if the hit percentage of the candidate affinity is greater than the hit percentage of the expected affinity by more than a threshold amount, query plans in the candidate affinity are swapped with query plans in the expected affinity.
Public/Granted literature
- US20140101131A1 SWAPPING EXPECTED AND CANDIDATE AFFINITIES IN A QUERY PLAN CACHE Public/Granted day:2014-04-10
Information query