Title :
fAST refresh using mass query optimization
Author :
Lehner, Wolfgang ; Cochrane, Bobbie ; Pirahesh, Hamid ; Zaharioudaki, Markos
Author_Institution :
Erlangen-Nurnberg Univ., Germany
Abstract :
Automatic summary tables (ASTs), more commonly known as materialized views, are widely used to enhance query performance, particularly for aggregate queries. Such queries access a huge number of rows to retrieve aggregated summary data while performing multiple joins in the context of a typical data warehouse star schema. To keep ASTs consistent with their underlying base data, the ASTs are either immediately synchronized or fully recomputed. This paper proposes an optimization strategy for simultaneously refreshing multiple ASTs, thus avoiding multiple scans of a large fact table (one pass for AST computation). A query stacking strategy detects common sub-expressions using the available query matching technology of DB2. Since exact common sub-expressions are rare, the novel query sharing approach systematically generates common subexpressions for a given set of “related” queries, considering different predicates, grouping expressions, and sets of base tables. The theoretical framework, a prototype implementation of both strategies in the IBM DB2 UDB/UWO database system, and performance evaluations based on the TPC/R data schema are presented in this paper
Keywords :
data warehouses; query processing; relational databases; software performance evaluation; IBM DB2; TPC/R data schema; aggregate queries; automatic summary tables; data warehouse; large fact table; mass query optimization; materialized views; multiple joins; performance evaluation; query matching; query performance; query stacking strategy; Aggregates; Data warehouses; Database systems; Information retrieval; Pattern recognition; Prototypes; Query processing; Stacking; Warehousing;
Conference_Titel :
Data Engineering, 2001. Proceedings. 17th International Conference on
Conference_Location :
Heidelberg
Print_ISBN :
0-7695-1001-9
DOI :
10.1109/ICDE.2001.914852