skip to main content
research-article

QueryScope: visualizing queries for repeatable database tuning

Published:01 August 2008Publication History
Skip Abstract Section

Abstract

Reading and perceiving complex SQL queries has been a time consuming task in traditional database applications for decades. When it comes to decision support systems with automatically generated and sometimes highly nested SQL queries, human understanding or tuning of these workloads becomes even more challenging. This demonstration explores visualization methods to represent queries as graphs. We developed the QueryScope tool to help visualize and understand critical elements of a query, thereby cutting down the learning curve. We show how the tool allows the user to drill down on particular queries or to find similarly structured queries that may exhibit similar tuning opportunities. The queries shown in the demonstration are taken from real tuning engagements.

References

  1. R. Ahuja. Self-tuning Memory in DB2 Version 9. http://www.ibm.com/developerworks/db2/library/techarticle/dm-0606ahuja/, 2006.Google ScholarGoogle Scholar
  2. N. Bruno and S. Chaudhuri. Automatic Physical Database Tuning: A Relaxation-based Approach. In SIGMOD, pages 227--238, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. N. Bruno and S. Chaudhuri. To Tune or not to Tune? A Lightweight Physical Design Alerter. In VLDB, pages 499--510, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. S. Chaudhuri and V. R. Narasayya. Self-Tuning Database Systems: A Decade of Progress. In VLDB, pages 3--14, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. Chirkova, A. Y. Halevy, and D. Suciu. A Formal Perspective on the View Selection Problem. In VLDB, pages 59--69, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. K. Dias, M. Ramacher, U. Shaft, V. Venkataramani, and G. Wood. Automatic Performance Diagnosis and Tuning in Oracle. In CIDR, pages 84--94, 2005.Google ScholarGoogle Scholar
  7. D. Shasha and P. Bonnet. Database Tuning: Principles, Experiments, and Troubleshooting Techniques. Morgan Kaufmann, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. E. R. Tufte. Envisioning Information. Graphics Press, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. D. C. Zilio, J. Rao, S. Lightstone, G. M. Lohman, A. Storm, C. Garcia-Arellano, and S. Fadden. DB2 Design Advisor: Integrated Automatic Physical Database Design. In VLDB, pages 1087--1097, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. D. C. Zilio, C. Zuzarte, S. Lightstone, and W. M. et al. Recommending Materialized Views and Indexes With the IBM DB2 Design Advisor. In International Conference on Autonomic Computing, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. QueryScope: visualizing queries for repeatable database tuning

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader