| Managing long-running queries |
| Full text |
Pdf
(3.34 MB)
|
| Source
|
Extending Database Technology; Vol. 360
archive
Proceedings of the 12th International Conference on Extending Database Technology: Advances in Database Technology
table of contents
Saint Petersburg, Russia
SESSION: Research sessions: Query processing
table of contents
Pages 132-143
Year of Publication: 2009
ISBN:978-1-60558-422-5
|
|
Authors
|
|
Stefan Krompass
|
Technische Universität München, Munich, Germany
|
|
Harumi Kuno
|
Hewlett-Packard Laboratories, Palo Alto, CA
|
|
Janet L. Wiener
|
Hewlett-Packard Laboratories, Palo Alto, CA
|
|
Kevin Wilkinson
|
Hewlett-Packard Laboratories, Palo Alto, CA
|
|
Umeshwar Dayal
|
Hewlett-Packard Laboratories, Palo Alto, CA
|
|
Alfons Kemper
|
Technische Universität München, Munich, Germany
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 23, Downloads (12 Months): 142, Citation Count: 0
|
|
|
ABSTRACT
Business Intelligence query workloads that run against very large data warehouses contain queries whose execution times range, sometimes unpredictably, from seconds to hours. The presence of even a handful of long-running queries can significantly slow down a workload consisting of thousands of queries, creating havoc for queries that require a quick response. Long-running queries are a known problem in all commercial database products. However, we have not seen a thorough classification of long-running queries nor a systematic study of the most effective corrective actions. We present here a systematic study of workload management policies, including many implemented by commercial database vendors. Our goal is to enable a system to: (1) recognize long-running queries and categorize them in terms of their impact on performance and (2) determine and take (automatically!) the most effective control actions to remedy the situation. To this end, we identify common workload management scenarios involving long-running queries, and create a taxonomy of long-running queries. We carry out an extensive set of experiments to evaluate different management policies and the relative and absolute thresholds that they may use. We find that in some scenarios, the right combination of policies can reduce the runtime of a workload by a factor of two, but that in other scenarios, any action taken increases runtime. One surprising result was that relative thresholds for execution control can compensate for inaccurate cost estimates, so that Kill&Requeue actions perform as well as Suspend&Resume.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
D. G. Benoit. Automated Diagnosis and Control of DBMS Resources. In EDBT PhD. Workshop, 2000.
|
 |
3
|
|
 |
4
|
|
| |
5
|
|
 |
6
|
|
| |
7
|
C. Chekuri and S. Khanna. Approximation Algorithms for Minimizing Average Weighted Completion Time, chapter 11. CRC Press, 2004.
|
| |
8
|
W.-J. Chen, B. Comeau, T. Ichikawa, S. S. Kumar, M. Miskimen, H. T. Morgan, L. Pay, and T. Väättänen. Workload Manager for Linux, Unix, and Windows. http://www.redbooks.ibm.com/redbooks/pdfs/sg247524.pdf, May 2008.
|
| |
9
|
HP Neoview Workload Management Services Guide, August 2007.
|
| |
10
|
|
| |
11
|
N. Lei. Workload Management for DB2 Data Warehouse. http://www.redbooks.ibm.com/redpapers/pdfs/redp3927.pdf.
|
 |
12
|
|
| |
13
|
|
| |
14
|
G. Luo, J. F. Naughton, and P. S. Yu. Multi-query SQL Progress Indicators. In 10th Intl. Conf. on Extending Database Technology (EDBT), 2006.
|
| |
15
|
Microsoft. Managing SQL Server Workloads with Resource Governor. http://msdn.microsoft.com/en-us/library/bb933866.aspx, December 2008.
|
| |
16
|
Oracle Discoverer Administrator Administration Guide 10g Release 2 (10.1.2.1). http://download.oracle.com/docs/pdf/B13916_04.pdf, July 2005.
|
| |
17
|
Oracle Database Resource Manager. http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dbrm.htm#i1010776, March 2008.
|
| |
18
|
|
| |
19
|
Teradata. Teradata Dynamic Workload Manager User Guide, Release 13.0.0.0 (B035-2513-088A), August 2008.
|
| |
20
|
|
|