GSLPI: a Cost-based Query Progress Indicator

被引:15
|
作者
Li, Jiexing [1 ]
Nehme, Rimma V. [2 ]
Naughton, Jeffrey [1 ]
机构
[1] Univ Wisconsin, Madison, WI 53706 USA
[2] Microsoft Jim Gray Syst Lab, Madison, WI USA
关键词
D O I
10.1109/ICDE.2012.74
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:678 / 689
页数:12
相关论文
共 50 条
  • [21] Plan Before You Execute: A Cost-Based Query Optimizer for Attributed Graph Databases
    Das, Soumyava
    Goyal, Ankur
    Chakravarthy, Sharma
    [J]. BIG DATA ANALYTICS AND KNOWLEDGE DISCOVERY, DAWAK 2016, 2016, 9829 : 314 - 328
  • [22] Cost-based sequential pattern query optimization in presence of materialized results of previous queries
    Morzy, M
    Wojciechowski, M
    Zakrzewicz, M
    [J]. INTELLIGENT INFORMATION SYSTEMS 2002, PROCEEDINGS, 2002, 17 : 435 - 444
  • [23] Elements of cost-based tolerancing
    Youngworth, RN
    Stone, BD
    [J]. OPTICAL REVIEW, 2001, 8 (04) : 276 - 280
  • [24] Cost-based temporal reasoning
    Santos, Eugene, Jr.
    [J]. INFORMATION SCIENCES, 2019, 482 : 392 - 418
  • [25] COST-BASED ACCEPTANCE SAMPLING
    CASE, KE
    BENNETT, GK
    SCHMIDT, JW
    [J]. INDUSTRIAL ENGINEERING, 1972, 4 (11): : 26 - &
  • [26] A cost-based pricing analysis
    Katsigiannis, Michail
    [J]. 2014 1ST INTERNATIONAL CONFERENCE ON 5G FOR UBIQUITOUS CONNECTIVITY (5GU), 2014, : 264 - 266
  • [27] Cost-based transfer pricing
    Pfeiffer, Thomas
    Schiller, Ulf
    Wagner, Joachim
    [J]. REVIEW OF ACCOUNTING STUDIES, 2011, 16 (02) : 219 - 246
  • [28] Elements of Cost-Based Tolerancing
    Richard N. Youngworth
    Bryan D. Stone
    [J]. Optical Review, 2001, 8 : 276 - 280
  • [29] Cost-based Database Scaling
    Orugnati, V. S. Srujana
    [J]. 2017 7TH IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2017, : 895 - 900
  • [30] Cost-based domain filtering
    Focacci, F
    Lodi, A
    Milano, M
    [J]. PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING-CP'99, 1999, 1713 : 189 - 203