BOOK-CHAPTER

Implementing Data Cubes Efficiently

Abstract

Decision support applications involve complex queries on very large databases. Since response times should be small, query optimization is critical. Users typically view the data as multidimensional data cubes. Each cell of the data cube is a view consisting of an aggregation of interest, like total sales. The values of many of these cells are dependent on the values of other cells in the data cube. A common and powerful query optimization technique is to materialize some or all of these cells rather than compute them from raw data each time. Commercial systems differ mainly in their approach to materializing the data cube. In this paper, we investigate the issue of which cells (views) to materialize when it is too expensive to materialize all views. A lattice framework is used to express dependencies among views. We present greedy algorithms that work off this lattice and determine a good set of views to materialize. The greedy algorithm performs within a small constant factor of optimal under a variety of models. We then consider the most common case of the hypercube lattice and examine the choice of materialized views for hypercubes in detail, giving some good tradeoffs between the space used and the average time to answer a query.

Keywords:
Computer science

Metrics

109
Cited By
22.35
FWCI (Field Weighted Citation Impact)
2
Refs
1.00
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Implementing data cubes efficiently

Venky HarinarayanAnand RajaramanJeffrey D. Ullman

Journal:   ACM SIGMOD Record Year: 1996 Vol: 25 (2)Pages: 205-216
JOURNAL ARTICLE

Implementing data cubes via subcubes

Huei‐Huang ChenKuo-Wei Ho

Journal:   International Database Engineering and Applications Symposium Year: 2004 Pages: 378-386
JOURNAL ARTICLE

Implementing data cubes via subcubes

Huei‐Huang ChenKuo-Wei Ho

Year: 2004 Pages: 378-386
© 2026 ScienceGate Book Chapters — All rights reserved.