DocumentCode
2457262
Title
GSLPI: A Cost-Based Query Progress Indicator
Author
Li, Jiexing ; Nehme, Rimma V. ; Naughton, Jeffrey
Author_Institution
Comput. Sci., Univ. of Wisconsin-Madison, Madison, WI, USA
fYear
2012
fDate
1-5 April 2012
Firstpage
678
Lastpage
689
Abstract
Progress indicators for SQL queries were first published in 2004 with the simultaneous and independent proposals from Chaudhuri et al. and Luo et al. In this paper, we implement both progress indicators in the same commercial RDBMS to investigate their performance. We summarize common cases in which they are both accurate and cases in which they fail to provide reliable estimates. Although there are differences in their performance, much more striking is the similarity in the errors they make due to a common simplifying uniform future speed assumption. While the developers of these progress indicators were aware that this assumption could cause errors, they neither explored how large the errors might be nor did they investigate the feasibility of removing the assumption. To rectify this we propose a new query progress indicator, similar to these early progress indicators but without the uniform speed assumption. Experiments show that on the TPC-H benchmark, on queries for which the original progress indicators have errors up to 30X the query running time, the new progress indicator is accurate to within 10 percent. We also discuss the sources of the errors that still remain and shed some light on what would need to be done to eliminate them.
Keywords
SQL; costing; query processing; relational databases; GSLPI; RDBMS; SQL queries; TPC-H benchmark; cost-based query progress indicator; error source; query running time; Benchmark testing; Estimation error; Indexes; Pipelines; Servers;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering (ICDE), 2012 IEEE 28th International Conference on
Conference_Location
Washington, DC
ISSN
1063-6382
Print_ISBN
978-1-4673-0042-1
Type
conf
DOI
10.1109/ICDE.2012.74
Filename
6228124
Link To Document