skip to main content
10.1145/1376616.1376710acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Configuration-parametric query optimization for physical design tuning

Published:09 June 2008Publication History

ABSTRACT

Automated physical design tuning for database systems has recently become an active area of research and development. Existing tuning tools explore the space of feasible solutions by repeatedly optimizing queries in the input workload for several candidate configurations. This general approach, while scalable, often results in tuning sessions waiting for results from the query optimizer over 90% of the time. In this paper we introduce a novel approach, called Configuration-Parametric Query Optimization, that drastically improves the performance of current tuning tools. By issuing a single optimization call per query, we are able to generate a compact representation of the optimization space that can then produce very efficiently execution plans for the input query under arbitrary configurations. Our experiments show that our technique speeds-up query optimization by 30x to over 450x with virtually no loss in quality, and effectively eliminates the optimization bottleneck in existing tuning tools. Our techniques open the door for new, more sophisticated optimization strategies by eliminating the main bottleneck of current tuning tools.

References

  1. S. Agrawal et al. Database Tuning Advisor for Microsoft SQL Server 2005. In Proceedings of the International Conference on Very Large Databases (VLDB), 2004.Google ScholarGoogle ScholarCross RefCross Ref
  2. K. Billings. A TPC-D Model for Database Query Optimization in Cascades. Ms. thesis, Portland State University, 1996.Google ScholarGoogle Scholar
  3. N. Bruno and S. Chaudhuri. Automatic physical database tuning: A relaxation-based approach. In Proceedings of the ACM International Conference on Management of Data (SIGMOD), 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. N. Bruno and S. Chaudhuri. To tune or not to tune? A Lightweight Physical Design Alerter. In Proceedings of the International Conference on Very Large Databases (VLDB), 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. P. Celis. The Query Optimizer in Tandem's new ServerWare SQL Product. In Proceedings of the International Conference on Very Large Databases (VLDB), 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Chaudhuri and V. Narasayya. An efficient cost-driven index selection tool for Microsoft SQL Server. In Proceedings of the International Conference on Very Large Databases (VLDB), 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Chaudhuri and V. Narasayya. Autoadmin 'What-if' index analysis utility. In Proceedings of the ACM International Conference on Management of Data (SIGMOD), 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. B. Dageville et al. Automatic SQL Tuning in Oracle 10g. In Proceedings of the International Conference on Very Large Databases (VLDB), 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. Graefe. The Cascades framework for query optimization. Data Engineering Bulletin, 18(3), 1995.Google ScholarGoogle Scholar
  10. G. Graefe. The Microsoft Relational Engine. In Proceedings of the International Conference on Data Engineering (ICDE), 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Y. Ioannidis, R. Ng, K. Shim, and T. Sellis. Parametric query optimization. In Proceedings of the International Conference on Very Large Databases (VLDB), 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. S. Papadomanolakis, D. Dash, and A. Ailamaki. Efficient use of the query optimizer for automated physical design. In Proceedings of the International Conference on Very Large Databases (VLDB), 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. L. Shapiro et al. Exploiting upper and lower bounds in top-down query optimization. In Proceedings of IDEAS, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. G. Valentin, M. Zuliani, D. Zilio, G. Lohman, and A. Skelley. DB2 advisor: An optimizer smart enough to recommend its own indexes. In Proceedings of the International Conference on Data Engineering (ICDE), 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. D. Zilio et al. DB2 design advisor: Integrated automatic physical database design. In Proceedings of the International Conference on Very Large Databases (VLDB), 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Configuration-parametric query optimization for physical design 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
        • Published in

          cover image ACM Conferences
          SIGMOD '08: Proceedings of the 2008 ACM SIGMOD international conference on Management of data
          June 2008
          1396 pages
          ISBN:9781605581026
          DOI:10.1145/1376616

          Copyright © 2008 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 9 June 2008

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate785of4,003submissions,20%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader