Range queries in dynamic OLAP data cubes

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

27 Scopus Citations
View graph of relations



Original languageEnglish
Pages (from-to)21-38
Journal / PublicationData and Knowledge Engineering
Issue number1
Publication statusPublished - Jul 2000
Externally publishedYes


A range query applies an aggregation operation (e.g., SUM) over all selected cells of an OLAP data cube where the selection is specified by providing ranges of values for numeric dimensions. Range sum queries on data cubes are a powerful analysis tool. Many applications domains requir that data cubes are updated often and the information provided by analysis tools are current or 'near current'. Existing techniques for range sum queries on data cubes, however, can incur update costs in the order of the size of the data cube. Since the size of a data cube is exponential in the number of its dimensions, rebuilding the entire data cube can be very costly and is not realistic. To cope with this dynamic data cube problem, a new approach has been introduced recently, which achieves constant time per range sum query while constraining each update cost within O(nd/2), where d is the number of dimensions of the data cube and n is the number of distinct values of the domain at each dimension. In this paper, we provide a new algorithm for the problem which requires O(n1/3) time for each range sum query and O(nd/3) time for each update. Our algorithm improves the update time by a factor of O(nd/6) in contrast to the current one for the problem O(nd/2). Like all existing techniques, our approach to answering range sum queries is also based on some precomputed auxiliary information (prefix sums) that is used to answer ad hoc queries at run time. Under both the product model and a new model introduced in this paper, the total cost for updates and ranges queries of the proposed algorithm is smallest compared with the cost by all known algorithms. Therefore our algorithm reduces the overall time complexity for range sum queries significantly.

Bibliographic Note

Publication details (e.g. title, author(s), publication statuses and dates) are captured on an “AS IS” and “AS AVAILABLE” basis at the time of record harvesting from the data source. Suggestions for further amendments or supplementary information can be sent to lbscholars@cityu.edu.hk.

Citation Format(s)

Range queries in dynamic OLAP data cubes. / Liang, Weifa; Wang, Hui; Orlowska, Maria E.
In: Data and Knowledge Engineering, Vol. 34, No. 1, 07.2000, p. 21-38.

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review