Preprocessing for fast refreshing materialized views in DB2
Document Type
Conference Proceeding
Publication Date
1-1-2006
Abstract
Materialized views (MVs) are used in databases and data warehouses to greatly improve query performance. In this context, a great challenge is to exploit commonalities among the views and to employ multi-query optimization techniques in order to derive an efficient global evaluation plan for refreshing the MVs concurrently. IBM DB2® Universal Database™ (DB2 UDB) provides two query matching techniques, query stacking and query sharing, to exploit commonalities among the MVs, and to construct an efficient global evaluation plan. When the number of MVs is large, memory and time restrictions prevent us from using both query matching techniques in constructing efficient global plans. We suggest an approach that applies the query stacking and query sharing techniques in different steps. The query stacking technique is applied first, and the outcome is exploited to define groups of MVs. The number of MVs in each group is restricted. This allows the query sharing technique to be applied only within groups in a second step. Finally, the query stacking technique is used again to determine an efficient global evaluation plan. An experimental evaluation shows that the execution time of the plan generated by our approach is very close to that of the plan generated using both query matching techniques without restriction. This result is valid no matter how big the database is. © Springer-Verlag Berlin Heidelberg 2006.
Identifier
33751366119 (Scopus)
ISBN
[3540377360, 9783540377368]
Publication Title
Lecture Notes in Computer Science Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics
External Full Text Location
https://doi.org/10.1007/11823728_6
e-ISSN
16113349
ISSN
03029743
First Page
55
Last Page
64
Volume
4081 LNCS
Recommended Citation
Xu, Wugang; Zuzarte, Calisto; Theodoratos, Dimitri; and Wenbin, Ma, "Preprocessing for fast refreshing materialized views in DB2" (2006). Faculty Publications. 19124.
https://digitalcommons.njit.edu/fac_pubs/19124
