An efficient algorithm for computing range-groupby queries

Citations

WEB OF SCIENCE

0
Citations

SCOPUS

1

초록

Aggregation queries for arbitrary regions in an n-dimensional space are powerful tools for data analysis in OLAP. A GROUP BY query in OLAP is very important since it allows us to summarize various trends along with any combination of dimensions. In this paper, we extend the previous aggregation queries by including the GROUP BY clause for arbitrary regions. We call the extension range-groupby queries and present an efficient algorithm for processing them. A typical method of achieving fast response time for aggregation queries is using the prefix-sum array, which stores precomputed partial aggregation values. A naive method for range-groupby queries maintains a prefix-sum array for each combination of the grouping dimensions in an n-dimensional cube, which incurs enormous storage overhead. Our algorithm maintains only one prefix-sum array and still effectively processes range-groupby queries for all possible combinations of multiple grouping dimensions. Compared with the naive method, our algorithm reduces the space overhead by O((1)/(2n)), while accessing almost the identical number of cells.

키워드

range-groupby queriesaggregation queriesprefix-sum arraysdata cubes
제목
An efficient algorithm for computing range-groupby queries
저자
Lee, Young-KooLoh, Woong-KeeMoon, Yang-SaeWhang, Kyu-YoungSong, Il-Yeol
발행일
2006
유형
Article; Proceedings Paper
저널명
Lecture Notes in Computer Science
3882
페이지
483 ~ 497