发明名称 Compact aggregation working areas for efficient grouping and aggregation using multi-core CPUs
摘要 A system is described for creating compact aggregation working areas for efficient grouping and aggregation using multi-core CPUs. The system implements operations including computing a running aggregate for a group within a business intelligence (BI) query, and identifying a location to store running aggregate information within an aggregation working area of a cache. The aggregation working area includes first and second data structures. The first data structure stores running aggregate information that is associated with a group that is accessed frequently relative to a threshold. The second data structure stores running aggregate information that is associated with a group that is accessed infrequently relative to the threshold. The operations also include storing the running aggregate information in either the first or second data structure of the aggregation working area based on a characterization of the group as a frequently or infrequently accessed group.
申请公布号 US8782102(B2) 申请公布日期 2014.07.15
申请号 US201012889789 申请日期 2010.09.24
申请人 International Business Machines Corporation 发明人 Qiao Lin;Raman Vijayshankar;Reiss Frederick R
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人 Holman Jeffrey T.
主权项 1. A computer program product comprising a non-transitory computer useable storage medium to store a computer readable program, wherein the computer readable program, when executed on a computer, causes the computer to perform operations comprising: computing a running aggregate for a group within a business intelligence (BI) query; identifying a location to store running aggregate information within an aggregation working area of a cache, wherein the aggregation working area comprises: a first data structure for storing running aggregate information that is associated with a group that is accessed frequently relative to a threshold; anda second data structure for storing running aggregate information that is associated with a group that is accessed infrequently relative to the threshold; estimating a final value of the running aggregate; estimating a number of bits for storing the final value of the running aggregate; allocating the estimated number of bits within either the first or second data structure; and storing the running aggregate information in either the first or second data structure of the aggregation working area based on a characterization of the group as a frequently or infrequently accessed group.
地址 Armonk NY US