On the content of materialized aggregate views

被引:9
作者
Grumbach, S
Tininini, L
机构
[1] Inst Natl Rech Informat & Automat, F-78153 Le Chesnay, France
[2] CNR, IASI, I-00185 Rome, Italy
[3] ISTAT, I-00142 Rome, Italy
关键词
D O I
10.1016/S0022-0000(02)00033-8
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We consider the problem of rewriting queries using only materialized views. We first show that if the views subsume the query from the point of view of the information content, then the query can be rewritten using only the views, but the resulting query might be extremely inefficient. We then focus on aggregate views and queries over a single relation, which are fundamental in many applications such as data warehousing. We show that in this case, it is possible to guarantee that as soon as the views subsume the query, it can be rewritten in terms of the views in a simple query language. Our main contribution is the conception of rewriting algorithms which run in polynomial time, and the proof of their completeness which relies on combinatorial arguments. Finally, we consider the materialization of ratio views such as average and percentage, important for the design of materialized views. (C) 2003 Elsevier Science (USA). All rights reserved.
引用
收藏
页码:133 / 168
页数:36
相关论文
共 51 条
[21]  
DUSCHKA OM, 1999, P 16 ACM SIGACT SIGM, P109
[22]  
GOLDSTEIN J, 2001, P SIGMOD 2001 ACM NE
[23]  
Grahne G, 1999, LECT NOTES COMPUT SC, V1540, P332
[24]   Data cube: A relational aggregation operator generalizing group-by, cross-tab, and sub-totals [J].
Gray, J ;
Bosworth, A ;
Layman, A ;
Pirahesh, H .
PROCEEDINGS OF THE TWELFTH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, 1996, :152-159
[25]  
Grumbach S., 1999, Proceedings of the Eighteenth ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, P174, DOI 10.1145/303976.303994
[26]   Index selection for OLAP [J].
Gupta, H ;
Harinarayan, V ;
Rajaraman, A ;
Ullman, JD .
13TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING - PROCEEDINGS, 1997, :208-219
[27]  
Gupta H, 1997, LECT NOTES COMPUT SC, V1186, P98
[28]  
Gupta H, 1999, LECT NOTES COMPUT SC, V1540, P453
[29]  
Halevy AY, 2000, SIGMOD RECORD, V29, P40, DOI 10.1145/369275.369284
[30]  
HARINARAYAN V, 1996, P 1996 ACM SIGMOD IN, P205