Proactive and reactive multi-dimensional histogram maintenance for selectivity estimation

被引:4
作者
He, Zhen [1 ]
Lee, Byung Suk [2 ]
Wang, X. Sean [2 ]
机构
[1] La Trobe Univ, Dept Comp Sci, Bundoora, Vic 3086, Australia
[2] Univ Vermont, Dept Comp Sci, Burlington, VT 05405 USA
基金
美国国家科学基金会;
关键词
selectivity estimation; proactive; reactive; histograms; query optimization;
D O I
10.1016/j.jss.2007.03.088
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many state-of-the-art selectivity estimation methods use query feedback to maintain histogram buckets, thereby using the limited memory efficiently. However, they are "reactive" in nature, that is, they update the histogram based on queries that have come to the system in the past for evaluation. In some applications, future occurrences of certain queries may be predicted and a "proactive" approach can bring much needed performance gain, especially when combined with the reactive approach. For these applications, this paper provides a method that builds customized proactive histograms based on query prediction and mergers them into reactive histograms when the predicted future arrives. Thus, the method is called the proactive and reactive histogram (PRHist). Two factors affect the usefulness of the proactive histograms and are dealt with during the merge process: the first is the predictability of queries and the second is the extent of data updates. PRHist adjusts itself to be more reactive or more proactive depending on these two factors. Through extensive experiments using both real and synthetic data and query sets, this paper shows that in most cases, PRHist outperforms STHoles, the state-of-the-art reactive method, even when only a small portion of the queries are predictable and a significant portion of data is updated. (C) 2007 Elsevier Inc. All rights reserved.
引用
收藏
页码:414 / 430
页数:17
相关论文
共 37 条
[1]  
Aboulnaga A, 1999, SIGMOD RECORD, VOL 28, NO 2 - JUNE 1999, P181, DOI 10.1145/304181.304198
[2]  
ACHARYA A, 2000, P ACM SIGMOD INT C M, P487
[3]  
[Anonymous], TIME SERIES ANAL FOR
[4]  
[Anonymous], 2002, SIGMOD
[5]  
[Anonymous], 2000, VLDB
[6]  
Babcock B., 2003, P 2003 ACM SIGMOD IN, P539, DOI DOI 10.1145/872757.872822
[7]  
Babu S., 2005, P ACM SIGMOD, P107
[8]   Precise call graph construction for OO programs in the presence of virtual functions [J].
Bairagi, D ;
Kumar, S ;
Agrawal, DP .
PROCEEDINGS OF THE 1997 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 1997, :412-416
[9]  
BROWN GB, 1963, SMOOTHING FORECASTIN
[10]  
Bruno N, 2001, SIGMOD RECORD, V30, P211, DOI 10.1145/376284.375686