Improved Selectivity Estimation by Combining Knowledge from Sampling and Synopses

被引:42
作者
Mueller, Magnus [1 ]
Moerkotte, Guido [2 ]
Kolb, Oliver [3 ]
机构
[1] Database Res Grp, Mannheim, Germany
[2] Univ Mannheim, Database Res Grp, Mannheim, Germany
[3] Sci Comp Grp, Mannheim, Germany
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2018年 / 11卷 / 09期
关键词
COST;
D O I
10.14778/3213880.3213882
中图分类号
TP [自动化技术、计算机技术];
学科分类号
080201 [机械制造及其自动化];
摘要
Estimating selectivities remains a critical task in query processing. Optimizers rely on the accuracy of selectivities when generating execution plans and, in approximate query answering, estimated selectivities affect the quality of the result. Many systems maintain synopses, e.g., histograms, and, in addition, provide sampling facilities. In this paper, we present a novel approach to combine knowledge from synopses and sampling for the purpose of selectivity estimation for conjunctive queries. We first show how to extract information from synopses and sampling such that they are mutually consistent. In a second step, we show how to combine them and decide on an admissible selectivity estimate. We compare our approach to state-of-the-art methods and evaluate the strengths and limitations of each approach.
引用
收藏
页码:1016 / 1028
页数:13
相关论文
共 26 条
[1]
[Anonymous], 1993, PODS '93
[2]
[Anonymous], 2013, P 8 ACM EUR C COMP S
[3]
[Anonymous], 2009, Proc. VLDB Endow.
[4]
Synopses for Massive Data: Samples, Histograms, Wavelets, Sketches [J].
Cormode, Graham ;
Garofalakis, Minos ;
Haas, Peter J. ;
Jermaine, Chris .
FOUNDATIONS AND TRENDS IN DATABASES, 2011, 4 (1-3) :1-294
[5]
Dobra Alin., 2005, PODS, P228
[6]
Gemulla R., 2008, SAMPLING ALGORITHMS
[7]
Selectivity and cost estimation for joins based on random sampling [J].
Haas, PJ ;
Naughton, JF ;
Seshadri, S ;
Swami, AN .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1996, 52 (03) :550-569
[8]
Ioannidis Y. E., 1991, PROPAGATION ERRORS S, V20
[9]
Kanne Carl-Christian., 2010, SIGMOD, P663, DOI DOI 10.1145/1807167.1807239
[10]
Leis V, 2015, PROC VLDB ENDOW, V9, P204