Patent Number: 8,719,295

Title: Multi-granularity hierarchical aggregate selection based on update, storage and response constraints

Abstract: Techniques are disclosed for multi-granularity hierarchical aggregate selection based on update, storage and response constraints. For example, for a temporal hierarchy of aggregation statistics associated with a plurality of database records, wherein the temporal hierarchy comprises two or more aggregation statistics levels and each level has a different temporal granularity associated therewith, a method comprises iteratively modifying the temporal hierarchy to at least one of: (a) minimize a storage usage cost while satisfying a temporal hierarchy update constraint and a query response time constraint; (b) reduce a temporal hierarchy update time and a query response time while satisfying a storage usage constraint; and (c) minimize a query response time for frequently applied queries that do not shift in time while satisfying the storage usage constraint, wherein the resulting temporal hierarchy that achieves at least one of (a), (b) and (c) is identified as an optimal temporal hierarchy.

Inventors: Chang; Yuan-Chi (Armonk, NY), Koved; Lawrence (Pleasantville, NY), Lang; Christian A. (Santa Barbara, CA), Sominsky; Igor (Hewlett, NY)

Assignee: International Business Machines Corporation

International Classification: G06F 7/00 (20060101); G06F 17/30 (20060101)

Expiration Date: 5/06/12018