Invention Grant
US08601213B2 System, method, and computer-readable medium for spool cache management
有权
用于假脱机缓存管理的系统,方法和计算机可读介质
- Patent Title: System, method, and computer-readable medium for spool cache management
- Patent Title (中): 用于假脱机缓存管理的系统,方法和计算机可读介质
-
Application No.: US12263516Application Date: 2008-11-03
-
Publication No.: US08601213B2Publication Date: 2013-12-03
- Inventor: Douglas Brown , John Mark Morris
- Applicant: Douglas Brown , John Mark Morris
- Applicant Address: US OH Dayton
- Assignee: Teradata US, Inc.
- Current Assignee: Teradata US, Inc.
- Current Assignee Address: US OH Dayton
- Agent Steve McDonald; Ramin Mahboubian
- Main IPC: G06F12/12
- IPC: G06F12/12

Abstract:
A system, method, and computer-readable medium that facilitate efficient use of cache memory in a massively parallel processing system are provided. A residency time of a data block to be stored in cache memory or a disk drive is estimated. A metric is calculated for the data block as a function of the residency time. The metric may further be calculated as a function of the data block size. One or more data blocks stored in cache memory are evaluated by comparing a respective metric of the one or more data blocks with the metric of the data block to be stored. A determination is then made to either store the data block on the disk drive or flush the one or more data blocks from the cache memory and store the data block in the cache memory. In this manner, the cache memory may be more efficiently utilized by storing smaller data blocks with lesser residency times by flushing larger data blocks with significant residency times from the cache memory. The disclosed cache management mechanisms are effective for many workloads and are adaptable to various database usage scenarios without requiring detailed studies of the particular data demographics and workload.
Public/Granted literature
- US20100115205A1 SYSTEM, METHOD, AND COMPUTER-READABLE MEDIUM FOR SPOOL CACHE MANAGEMENT Public/Granted day:2010-05-06
Information query