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 条
[31]   Tree based indexes versus bitmap indexes:: A performance study [J].
Jürgerns, M ;
Lenz, HJ .
INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2001, 10 (03) :355-376
[32]  
Levy A. Y., 1996, Proceedings of the Fifteenth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems. PODS 1996, P227, DOI 10.1145/237661.237716
[33]  
Levy A. Y., 1995, Proceedings of the Fourteenth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems. PODS 1995, P95, DOI 10.1145/212433.220198
[34]  
Levy AY, 1996, PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, P251
[35]  
Malvestuto F. M., 1991, Proceedings of the Tenth ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, P252, DOI 10.1145/113413.113436
[36]   A UNIVERSAL-SCHEME APPROACH TO STATISTICAL DATABASES CONTAINING HOMOGENEOUS SUMMARY TABLES [J].
MALVESTUTO, FM .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1993, 18 (04) :678-708
[37]   Computational issues connected with the protection of sensitive statistics by auditing sum-queries [J].
Malvestuto, FM ;
Moscarini, M .
TENTH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT - PROCEEDINGS, 1998, :134-144
[38]  
MITRA P, 1999, ALGORITHM ANSWERING
[39]  
MUMICK IS, 1997, P ACM SIGMOD INT C M, P100
[40]   EXTENDING RELATIONAL ALGEBRA AND RELATIONAL CALCULUS WITH SET-VALUED ATTRIBUTES AND AGGREGATE FUNCTIONS [J].
OZSOYOGLU, G ;
OZSOYOGLU, ZM ;
MATOS, V .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1987, 12 (04) :566-592