A formal perspective on the view selection problem

被引:69
作者
Chirkova, R [1 ]
Halevy, AY
Suciu, D
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] Univ Washington, Seattle, WA 98195 USA
关键词
materialized views; view selection;
D O I
10.1007/s00778-002-0070-0
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The view selection problem is to choose a set of views to materialize over a database schema, such that the cost of evaluating a set of workload queries is minimized and such that the views fit into a prespecified storage constraint. The two main applications of the view selection problem are materializing views in a database to speed up query processing, and selecting views to materialize in a data warehouse to answer decision support queries. In addition, view selection is a core problem for intelligent data placement over a wide-area network for data integration applications and data management for ubiquitous computing. We describe several fundamental results concerning the view selection problem. We consider the problem for views and workloads that consist of equality-selection, project and join queries, and show that the complexity of the problem depends crucially on the quality of the estimates that a query optimizer has on the size of the views it is considering to materialize. When a query optimizer has good estimates of the sizes of the views, we show a somewhat surprising result, namely, that an optimal choice of views may involve a number of views that is exponential in the size of the database schema. On the other hand, when an optimizer uses standard estimation heuristics, we show that the number of necessary views and the expression size of each view are polynomially bounded.
引用
收藏
页码:216 / 237
页数:22
相关论文
共 23 条
[1]  
AGRAWAL S, 2000, P 26 INT C VER LARG, P496
[2]  
Baralis E, 1997, PROCEEDINGS OF THE TWENTY-THIRD INTERNATIONAL CONFERENCE ON VERY LARGE DATABASES, P156
[3]  
Bello R. G., 1998, Proceedings of the Twenty-Fourth International Conference on Very-Large Databases, P659
[4]  
CHIRKOVA R, 2000, P DOOD, P987
[5]  
CHIRKOVA R, 2001, P VLDB
[6]  
CHIRKOVA R, 2001, P PODS
[7]  
GOLDSTEIN J, 2001, P 2001 ACM SIGMOD IN, P331
[8]  
GRIBBLE S, 2001, ACM SIGMOD WEBDB WOR
[9]   Index selection for OLAP [J].
Gupta, H ;
Harinarayan, V ;
Rajaraman, A ;
Ullman, JD .
13TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING - PROCEEDINGS, 1997, :208-219
[10]  
Gupta H, 1999, LECT NOTES COMPUT SC, V1540, P453