DBMS Metrology

Author:

Currim Sabah1,Snodgrass Richard T.1,Suh Young-Kyoon1,Zhang Rui1

Affiliation:

1. University of Arizona

Abstract

It is surprisingly hard to obtain accurate and precise measurements of the time spent executing a query because there are many sources of variance. To understand these sources, we review relevant per-process and overall measures obtainable from the Linux kernel and introduce a structural causal model relating these measures. A thorough correlational analysis provides strong support for this model. We attempted to determine why a particular measurement wasn’t repeatable and then to devise ways to eliminate or reduce that variance. This enabled us to articulate a timing protocol that applies to proprietary DBMSes, that ensures the repeatability of a query, and that obtains a quite accurate query execution time while dropping very few outliers. This resulting query time measurement procedure, termed the Tucson Timing Protocol Version 2 (TTPv2), consists of the following steps: (i) perform sanity checks to ensure data validity; (ii) drop some query executions via clearly motivated predicates; (iii) drop some entire queries at a cardinality, again via clearly motivated predicates; (iv) for those that remain, compute a single measured time by a carefully justified formula over the underlying measures of the remaining query executions; and (v) perform post-analysis sanity checks. The result is a mature, general, robust, self-checking protocol that provides a more precise and more accurate timing of the query. The protocol is also applicable to other operating domains in which measurements of multiple processes each doing computation and I/O is needed.

Funder

Microsoft Corporation

NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Reference26 articles.

1. Learning-based Query Performance Modeling and Prediction

2. T. Bowden B. Bauer J. Nerin S. Feng and S. Seibold. 2009. Linux kernel documentation - The /proc file system. Retrieved from https://www.kernel.org/doc/Documentation/filesystems/proc.txt. T. Bowden B. Bauer J. Nerin S. Feng and S. Seibold. 2009. Linux kernel documentation - The /proc file system. Retrieved from https://www.kernel.org/doc/Documentation/filesystems/proc.txt.

3. Benchmarking cloud serving systems with YCSB

4. DBMS metrology

Cited by 11 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Identifying the Root Causes of DBMS Suboptimality;ACM Transactions on Database Systems;2024-02-28

2. A Comprehensive Empirical Study of Query Performance Across GPU DBMSes;Proceedings of the ACM on Measurement and Analysis of Computing Systems;2022-02-24

3. Towards natural object-based image recoloring;Computational Visual Media;2021-12-06

4. Have query optimizers hit the wall?;The VLDB Journal;2021-09-20

5. ST-Trie: A Novel Indexing Scheme for Efficiently Querying Heterogeneous, Spatiotemporal IoT Data;Sustainability;2020-11-21

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3