Exploiting early sorting and early partitioning for decision support query processing

被引:12
作者
Claussen, J [1 ]
Kemper, A [1 ]
Kossmann, D [1 ]
Wiesner, C [1 ]
机构
[1] Univ Passau, Lehrstuhl Informat, D-94030 Passau, Germany
关键词
Decision Support Systems; query processing and optimization; early sorting and partitioning; hash joins and hash teams; performance evaluation;
D O I
10.1007/s007780000030
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Decision support queries typically involve several joins, a grouping with aggregation, and/or sorting of the result tuples. We propose two new classes of query evaluation algorithms that can be used to speed up the execution of such queries. The algorithms are based on (1) early sorting and (2) early partitioning - or a combination of both. The idea is to push the sorting and/or the partitioning to the leaves, i.e., the base relations, of the query evaluation plans (QEPs) and thereby avoid sorting or partitioning large intermediate results generated by the joins. Both early sorting and early partitioning are used in combination with hash-based algorithms for evaluating the joints) and the grouping. To enable early sorting, the sort order generated at an early stage of the QEP is retained through an arbitrary number of so-called order-preserving hashjoins. To make early partitioning applicable to a large class of decision support queries, we generalize the so-called hash teams proposed by Graefe et al. [GBC98]. Hash teams allow to perform several hash-based operations (join and grouping! on the same attribute in one pass without repartitioning intermediate results. Our generalization consists of indirectly partitioning the input data. indirect partitioning means partitioning the input data on an attribute that is not directly needed for the next hash-based operation, and it involves the construction of bitmaps to approximate the partitioning for the attribute that is needed in the next hash-based operation. Our performance experiments show that such QEPs based on early sorting, early partitioning, or both in combination perform significantly better than conventional strategies for many common classes of decision support queries.
引用
收藏
页码:190 / 213
页数:24
相关论文
共 33 条
[1]   DUPLICATE RECORD ELIMINATION IN LARGE DATA FILES [J].
BITTON, D ;
DEWITT, DJ .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1983, 8 (02) :255-265
[2]   SPACE/TIME TRADE/OFFS IN HASH CODING WITH ALLOWABLE ERRORS [J].
BLOOM, BH .
COMMUNICATIONS OF THE ACM, 1970, 13 (07) :422-&
[3]  
BRATBERGSENGEN K, 1984, P 10 INT C VER LARG, P323
[4]  
Braumandl R., 1998, Proceedings of the Twenty-Fourth International Conference on Very-Large Databases, P110
[5]   Functional-join processing [J].
Braumandl, R ;
Claussen, J ;
Kemper, A ;
Kossmann, D .
VLDB JOURNAL, 2000, 8 (3-4) :156-177
[6]  
Chaudhuri S, 1996, PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, P87
[7]  
CHAUDHURI S, 1994, P 20 INT C VER LARG, P354
[8]  
Davison DL, 1994, P 20 INT C VLDB SAN, P379
[9]  
Graefe G., 1998, Proceedings of the Twenty-Fourth International Conference on Very-Large Databases, P86
[10]   QUERY EVALUATION TECHNIQUES FOR LARGE DATABASES [J].
GRAEFE, G .
COMPUTING SURVEYS, 1993, 25 (02) :73-170