skip to main content
10.1145/872757.872802acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

Factorizing complex predicates in queries to exploit indexes

Published:09 June 2003Publication History

ABSTRACT

Decision-support applications generate queries with complex predicates. We show how the factorization of complex query expressions exposes significant opportunities for exploiting available indexes. We also present a novel idea of relaxing predicates in a complex condition to create possibilities for factoring. Our algorithms are designed for easy integration with existing query optimizers and support multiple optimization levels, providing different trade-offs between plan complexity and optimization time.

References

  1. S. D. Bay. The UCI KDD archive {http://kdd.ics.uci.edu}. Irvine, CA: University of California, Department of Information and Computer Science, 1999.Google ScholarGoogle Scholar
  2. C. Blake and C. Merz. UCI repository of machine learning databases, 1998.Google ScholarGoogle Scholar
  3. R. K. Brayton. Factoring logic functions. IBM Journal of Research and Development, 31(2):187--198, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. R. K. Brayton, R. Rudell, A. Sangiovanni-Vincentelli, and A. Wang. MIS: A multiple-level logic optimization system. IEEE Transactions on CAD/ICAS, CAD-6, 1987.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. S. Chaudhuri and L. Gravano. Optimizing queries over multimedia repositories. In H. V. Jagadish and I. S. Mumick, editors, Proc. ACM SIGMOD 1996, Montreal, pages 91--102, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Chaudhuri, V. Narasayya, and S. Sarawagi. Efficient evaluation of queries with mining predicates. In Proc. of the 18th Int'l Conference on Data Engineering (ICDE), San Jose, USA, April 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. S. Chaudhuri and K. Shim. Optimization of queries with user-defined predicates (a shorter version appears in vldb 1996). TODS, 24(2):177--228, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Cluet and C. Delobel. A general framework for the optimization of object-oriented queries. In Proc. SIGMOD 1992, San Diego, California, pages 383--392, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. U. Dayal. Of nests and trees: A unified approach to processing queries that contain nested subqueries, aggregates, and quantifiers. In Proceedings of 13th International Conference on Very Large Data Bases, Brighton, England, pages 197--208, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. G. Graefe. Query evaluation techniques for large databases. ACM Computing Surveys, 25(2):73--170, Jun 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. M. Z. Hanani. An optimal evaluation of Boolean expressions in an online query system. CACM, 20(5):344--347, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. J. M. Hellerstein and M. Stonebraker. Predicate migration: Optimizing queries with expensive predicates. In SIGMOD Conference, pages 267--276, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. Kemper, G. Moerkotte, K. Peithner, and M. Steinbrunn. Optimizing disjunctive queries with expensive predicates. In R. T. Snodgrass and M. Winslett, editors, Proc. SIGMOD 1994, Minneapolis, pages 336--347, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. A. Kemper, G. Moerkotte, and M. Steinbrunn. Optimizing Boolean expressions in object-bases. In Proc. of the VLDB Conference, pages 79--90, Vancouver, Canada, August 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. H. Leslie, R. Jain, D. Birdsall, and H. Yaghmai. Efficient search of multi-dimensional "b"-trees. In VLDB'95, Proceedings of 21th International Conference on Very Large Data Bases, September 11--15, 1995, Zurich, Switzerland, pages 710--719. Morgan Kaufmann, 1995. Google ScholarGoogle Scholar
  16. M.C. Golumbic and A. Mintz. Factoring logic functions using graph partitioning. In Proc. IEEE/ACM Int'l. Conf. on Computer-Aided Design, (ICCAD-99), San Jose, CA, pages 195--198, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. C. Mohan, D. Haderle, Y. Wang, and J. Cheng. Single table access using multiple indexes: optimization, execution, and concurrency control techniques. In Proc. International Conference on Extending Database Technology, pages 29--43, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Muralikrishna and D. J. DeWitt. Optimization of multiple-relation multiple-disjunct queries. In Proceedings of the Seventh ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems, Austin, Texas, pages 263--275, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. R. Brayton, G. Hachtel, and A.L. Sangiovanni-Vincentelli. Multilevel logic synthesis. Proceedings of the IEEE, 78:264--300, 1990.Google ScholarGoogle ScholarCross RefCross Ref
  20. L. T. Reinwald and R. M. Soland. Conversion of limited-entry decision tables to optimal computer programs: Minimum average processing time. JACM, 13(3):339--358, 1966. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. P. G. Selinger, M. M. Astrahan, D. D. Chamberlin, R. A. Lorie, and T. G. Price. Access path selection in a relational database management system. In Proc. of the ACM SIGMOD International Conference on Management of Data, Boston, pages 23--34, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. G. M. Wolfgang Scheufele. Efficient dynamic programming algorithms for ordering expensive joins and selections. In Proc. of the 6th Int'l Conference on Extending Database Technology (EDBT), Valencia, Spain, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Factorizing complex predicates in queries to exploit indexes

            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 '03: Proceedings of the 2003 ACM SIGMOD international conference on Management of data
              June 2003
              702 pages
              ISBN:158113634X
              DOI:10.1145/872757

              Copyright © 2003 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 2003

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              SIGMOD '03 Paper Acceptance Rate53of342submissions,15%Overall Acceptance Rate785of4,003submissions,20%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader