skip to main content
10.1145/130283.130291acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article
Free Access

Query optimization for parallel execution

Authors Info & Claims
Published:01 June 1992Publication History

ABSTRACT

The decreasing cost of computing makes it economically viable to reduce the response time of decision support queries by using parallel execution to exploit inexpensive resources. This goal poses the following query optimization problem: Minimize response time subject to constraints on throughput, which we motivate as the dual of the traditional DBMS problem. We address this novel problem in the context of Select-Project-Join queries by extending the execution space, cost model and search algorithm that are widely used in commercial DBMSs. We incorporate the sources and deterrents of parallelism in the traditional execution space. We show that a cost model can predict response time while accounting for the new aspects due to parallelism. We observe that the response time optimization metric violates a fundamental assumption in the dynamic programming algorithm that is the linchpin in the optimizers of most commercial DBMSs. We extend dynamic programming and show how optimization metrics which correctly predict response time may be designed.

References

  1. AHY83.P.M.G. Apers, A.R. Hevner, and S.B. Yao. Optimization Algorithms for Distributed Queries. IEEE Transactzon on Software Engineemng, 9(1), 1983.Google ScholarGoogle Scholar
  2. Bel57.R.E. Bellman. Dynamzc Programmzng. Princeton University Press, 1957.Google ScholarGoogle Scholar
  3. CHK+91.T. Connors, W. Hasan, C. Kolovson, M.-A. Neimat, D. Schneider, and K. Wilkinson. The Papyrus integrated data server. In Proceedngs of the F~rst Internatzonal Conference on Parallel and Distmbuted Information Systems, December 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. DG90.D.J. DeWitt and J. Gray. Parallel Database Systems' The Future of Database Processing or a Passing Fad? A CM-SIGMOD Record, 19(4):104-112, December 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. DGS+90.D.J. DeWitt, S. Ghandeharizadeh, D. Schneider, A. Bricker, It.-I. Hsiao, and R. Rasmussen. The Gamma database machine project. IEEE Transact2ons on Knowledge and Data Engzneer~ng, 2(1), March 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. GHK92.S. Ganguly, W. ttasan, and R. Krishnamurthy. Query Optimization for Parallel Execution. Technical report, HP Laboratories, 1992. HPL-DTD-92-3.Google ScholarGoogle Scholar
  7. Gra91.J. Gray. The Benchmark Handbook for Database and Transaclzon Processing Systems. Morgan Kaufmann Pubhshers, Inc., 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. HS91.W. Hong and M. Stonebraker. Optimization of parallel query execution plans in xprs. In Proceedzngs of the Fzrst InlernalzonaI Conference on Parallel and D2slr~buled Information Systems, December 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. PMC+90.tt Pirahesh, C. Mohan, J. Cheung, T.S. Liu. and P. Selinger. Parallelism in Relational Data Base Systems: Architectural Issues and Design Approaches. Technical report. IB~I Research Division, September 1990. 1BM Research Report RJ 7724.Google ScholarGoogle Scholar
  10. SAC+79.P. Selinger, M. M. Astrahan, D. D. Chainberlin, R. A. Lorie, and T. G. Price. Access Path Selection in a Relational Database Management System. In Procee&ngs of A CM- SIGMOD Inlernatzonal Conference on Management of Data, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Sch90.D.A. Schneider. Complex Query Processzng in Multiprocessor Database Machines. PhD thesis, University of Wisconsin--Madison, September 1990. Computer Sciences Technical Report 965. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. SD89.D.A. Schneider and D. J. DeWitt. A performance evaluation of four parallel join algorithms in a shared-nothing multiprocessor environment. In A CM SIGMOD, Portland, Oregon, June 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Query optimization for parallel execution

            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 '92: Proceedings of the 1992 ACM SIGMOD international conference on Management of data
              June 1992
              416 pages
              ISBN:0897915216
              DOI:10.1145/130283

              Copyright © 1992 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: 1 June 1992

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              Overall Acceptance Rate785of4,003submissions,20%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader