skip to main content
article
Free Access

Decomposition—a strategy for query processing

Published:01 September 1976Publication History
Skip Abstract Section

Abstract

Strategy for processing multivariable queries in the database management system INGRES is considered. The general procedure is to decompose the query into a sequence of one-variable queries by alternating between (a) reduction: breaking off components of the query which are joined to it by a single variable, and (b) tuple substitution: substituting for one of the variables a tuple at a time. Algorithms for reduction and for choosing the variable to be substituted are given. In most cases the latter decision depends on estimation of costs; heuristic procedures for making such estimates are outlined.

References

  1. 1 ALLMAN, E., AND STONE}BRAKER, M. Embedding a relational data sub-language in a general purpose programming language. ERL Mem. No. M564, Electronics l~esearch Lab., U. of California, Berkeley, Calif., Oct. 1974.Google ScholarGoogle Scholar
  2. 2 ASTRAHAN, M.M., AND CHAMBEaLIN, D.D. Implementation of a structured English query language. Comm. ACM 18, 10 (Oct. 1975), 580-588. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 CODD, E.F. Seven steps to rendezvous with the casual user. Proc. IFIP TC-2 Working Conf. on Data Base Management Systems, Cargese, Corsica, April 1974.Google ScholarGoogle Scholar
  4. 4 HELD, G.D., STONEBRAKER, M., AND WONG, E. INGRES--a relational data base management system. Proc. AFIPS 1975 NCC, Vol. 44, AFIPS Press, Montvale, N.J., pp. 409-416.Google ScholarGoogle Scholar
  5. 5 McDONALD, N., AND STONEBRAKER, M. Cupid--the friendly query language. ERL Mem. No. M487, Electronics Research Lab., U. of California, Berkeley, Calif., Oct. 1974.Google ScholarGoogle Scholar
  6. 6 PALERMO, E.P. A data base search problem. Proc. 4th Int. Symp. on Computers and Information Science, Miami Beach, Fla., Dec. 1972.Google ScholarGoogle Scholar
  7. 7 PECH~R~R, R.M. Efficient evaluation of expressions in a relational algebra. Proc. ACM Pacific 75 Conf., April 1975, pp. 44--49.Google ScholarGoogle Scholar
  8. 8 RITCHIE, D., AND THOMPSON, K. The UNIX time sharing system. Comm. ACM 17, 7 (July 1974), 365-375. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 RITCHIE, D.M. C Reference Manual. UNIX Programmer's Manual, Bell Telephone Labs, Murray Hill, N.J., July 1974.Google ScholarGoogle Scholar
  10. 10 ROTHNIE, J.B. An approach to implementing a relational data base management system. Proc. 1974 ACM-SIGFIDET Workshop on Data Description, Access and Control, Ann Arbor, Mich., May 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 ROTHNIE, J.B. Evaluating inter-entry retrieval expressions in a relational data base management system. Proc. AFIPS 1975 NCC, Vol. 44, AFIPS Press, Montvale, N.J., pp. 417- 423.Google ScholarGoogle Scholar
  12. 12 SMITH, J.M., AND CHANG, P.Y.T. Optimizing the performance of a relational algebra database interface. Comm. ACM 18, 10 (Oct. 1975), 568-579. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13 STON~BRAKER, M., WONG, E., KREPS, P., AND HELD, G. The design and implementation of INGRES. ACM Trans. on Database Systems I, 3 (Sept. 1976), 189-222 (this issue). Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14 TODD, S. PRTV: An efficient implementation for large relational data bases. Proc. Int. Conf. on Very Large Data Bases, Framingham, Mass., Sept. 1975, pp. 554-556. (Available from ACM, New York).Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15 Tsic~mTZiS, D. A network framework for relational implementation. Rep. CSRG-51, Computer Systems Research Group, U. of Toronto, Toronto, Ont., Canada, Feb. 1975.Google ScholarGoogle Scholar

Index Terms

  1. Decomposition—a strategy for query processing

          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