Finding an efficient rewriting of OLAP queries using materialized views in data warehouses

作者:

摘要

OLAP queries involve a lot of aggregations on a large amount of data in data warehouses. To process expensive OLAP queries efficiently, we propose a new method to rewrite a given OLAP query using various kinds of materialized views which already exist in data warehouses. We first define the normal forms of OLAP queries and materialized views based on the selection and aggregation granularities, which are derived from the lattice of dimension hierarchies. Conditions for usability of materialized views in rewriting a given query are specified by relationships between the components of their normal forms. We present a rewriting algorithm for OLAP queries that can effectively utilize materialized views having different selection granularities, selection regions, and aggregation granularities together. We also propose an algorithm to find a set of materialized views that results in a rewritten query which can be executed efficiently. We show the effectiveness and performance of the algorithm experimentally.

论文关键词:Query rewriting,Materialized view,OLAP,Data warehouse

论文评审过程:Received 1 January 2001, Revised 1 March 2001, Accepted 1 June 2001, Available online 7 December 2001.

论文官网地址:https://doi.org/10.1016/S0167-9236(01)00123-3