ACM Home Page
Please provide us with feedback. Feedback
The design of a query monitoring system
Full text PdfPdf (1.32 MB)
Source
ACM Transactions on Database Systems (TODS) archive
Volume 34 ,  Issue 1  (April 2009) table of contents
Article No. 1  
Year of Publication: 2009
ISSN:0362-5915
Authors
Chaitanya Mishra  University of Toronto, Toronto, Ontario, Canada
Nick Koudas  University of Toronto, Toronto, Ontario, Canada
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 59,   Downloads (12 Months): 280,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1508857.1508858
What is a DOI?

ABSTRACT

Query monitoring refers to the problem of observing and predicting various parameters related to the execution of a query in a database system. In addition to being a useful tool for database users and administrators, it can also serve as an information collection service for resource allocation and adaptive query processing techniques. In this article, we present a query monitoring system from the ground up, describing various new techniques for query monitoring, their implementation inside a real database system, and a novel interface that presents the observed and predicted information in an accessible manner. To enable this system, we introduce several lightweight online techniques for progressively estimating and refining the cardinality of different relational operators using information collected at query execution time. These include binary and multiway joins as well as typical grouping operations and combinations thereof. We describe the various algorithms used to efficiently implement estimators and present the results of an evaluation of a prototype implementation of our framework in an open-source data management system. Our results demonstrate the feasibility and practical utility of the approach presented herein.


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
Alon, N., Gibbons, P. B., Matias, Y., and Szegedy, M. 2002. Tracking join and self-join sizes in limited storage. J. Comput. Syst. Sci. 64, 3, 719--747.
2
 
3
Bickel, P. and Doksum, K. 2000. Mathematical Statistics: Basic Ideas and Selected Topics. Prentice Hall, Englewood Cliffs, NJ.
4
 
5
Boneh, S., Boneh, A., and Caron, R. 1998. On estimating the prediction function and the number of unseen species in sampling with replacement. J. Amer. Statist. Assoc. 93, 441, 372--379.
6
7
8
9
 
10
Chaudhuri, S. and Narasayya, V. 2009. Program for TPC-D data generation with skew. ftp://ftp.research.microsoft.com/users/viveknar/tpcdskew.
11
 
12
 
13
14
15
 
16
Haas, P. and Stokes, L. 1998. Estimating the number of classes in a finite population. J. Amer. Statist. Assoc. 93, 444, 1475--1487.
 
17
 
18
19
 
20
21
22
 
23
 
24
25
26
 
27
28
29
 
30
31
 
32
 
33
Luo, G., Naughton, J. F., and Yu, P. S. 2006. Multi-Query SQL progress indicators. In Advances in Database Technology, Proceedings of the 10th International Conference on Extending Database Technology. Springer-Verlag, 921--941.
 
34
35
 
36
Mishra, C. and Koudas, N. 2007. A lightweight online framework for query progress indicators. In Proceedings of the 23rd International Conference on Data Engineering, (ICDE). IEEE, 1292--1296.
37
38
 
39
40
 
41
Thompson, S. K. 2002. Sampling. Wiley Interscience.
42

Collaborative Colleagues:
Chaitanya Mishra: colleagues
Nick Koudas: colleagues