Support for repetitive transactions and ad hoc queries in System R

  • Authors:
  • D. D. Chamberlin;M. M. Astrahan;W. F. King;R. A. Lorie;J. W. Mehl;T. G. Price;M. Schkolnick;P. Griffiths Selinger;D. R. Slutz;B. W. Wade;R. A. Yost

  • Affiliations:
  • IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Research Lab, San Jose, CA;IBM Rosearch Lab, San Jose, CA;IBM Research Lab, San Jose, CA

  • Venue:
  • ACM Transactions on Database Systems (TODS)
  • Year:
  • 1981

Quantified Score

Hi-index 0.02

Visualization

Abstract

System R supports a high-level relational user language called SQL which may be used by ad hoc users at terminals or as an embedded data sublanguage in PL/I or COBOL. Host-language programs with embedded SQL statements are processed by the System R precompiler which replaces the SQL statements by calls to a machine-language access module. The precompilation approach removes much of the work of parsing, name binding, and access path selection from the path of a running program, enabling highly efficient support for repetitive transactions. Ad hoc queries are processed by a similar approach of name binding and access path selection which takes place on-line when the query is specified. By providing a flexible spectrum of binding times, System R permits transaction-oriented programs and ad hoc query users to share a database without loss of efficiency.System R is an experimental database management system designed and built by members of the IBM San Jose Research Laboratory as part of a research program on the relational model of data. This paper describes the architecture of System R, and gives some preliminary measurements of system performance in both the ad hoc query and the “canned program” environments.