Selecting and using views to compute aggregate queries

作者:

Highlights:

摘要

We consider a workload of aggregate queries and investigate the problem of selecting materialized views that (1) provide equivalent rewritings for all the queries, and (2) are optimal, in that the cost of evaluating the query workload is minimized. We consider conjunctive views and rewritings, with or without aggregation; in each rewriting, only one view contributes to computing the aggregated query output. We look at query rewriting using existing views and at view selection. In the query-rewriting problem, we give sufficient and necessary conditions for a rewriting to exist. For view selection, we prove complexity results. Finally, we give algorithms for obtaining rewritings and selecting views.

论文关键词:Rewriting queries using views,View selection,Efficient query processing,Aggregate queries

论文评审过程:Received 1 May 2006, Revised 10 September 2010, Accepted 12 October 2010, Available online 27 October 2010.

论文官网地址:https://doi.org/10.1016/j.jcss.2010.10.003