Encyclopedia of Database Systems

2009 Edition
| Editors: LING LIU, M. TAMER ÖZSU

Query Processing (in Relational Databases)

  • Volker Markl
Reference work entry
DOI: https://doi.org/10.1007/978-0-387-39940-9_296

Synonyms

Definition

Query processing denotes the compilation and execution of a query specification usually expressed in a declarative database query language such as the structured query language (SQL). Query processing consists of a compile-time phase and a runtime phase. At compile-time, the query compiler translates the query specification into an executable program. This translation process (often called query compilation) is comprised of lexical, syntactical, and semantical analysis of the query specification as well as a query optimization and code generation phase. The code generated usually consists of physical operators for a database machine. These operators implement data access, joins, selections, projections, grouping, and aggregation. At runtime, the database engine interprets and executes the program implementing the query specification to produce the query result.

Historical Background

In the 1960s and 1970s, navigational database...

This is a preview of subscription content, log in to check access

Recommended Reading

  1. 1.
    Codd E.F. A relational model of data for large shared data banks. Commun. ACM., 13(6):377–387, 1970.MATHGoogle Scholar
  2. 2.
    Freytag J.C., Maier D., and Vossen G. 1994. Query processing for advanced database systems. Morgan Kaufmann,Google Scholar
  3. 3.
    Graefe G. Volcano – an extensible and parallel query evaluation system. IEEE Trans. Knowl. Data Eng., 6(1):120–135, 1994.Google Scholar
  4. 4.
    Graefe G. Query evaluation techniques for large databases. ACM Comput. Surv., 25(2):73–170, 1993.Google Scholar
  5. 5.
    Lorie R.A. and Fischer N.J. An access specification language for a relational data base system. IBM J. Res. Dev., 23(3):286–298, 1979.MATHGoogle Scholar
  6. 6.
    Markl V., Haas P.J., Kutsch M., Megiddo N., Srivastava U., and Tran T.M. Consistent selectivity estimation via maximum entropy. VLDB J., 16(1):55–76, 2007.Google Scholar
  7. 7.
    Selinger P.G., Astrahan M.M., Chamberlin D.D., Lorie R.A., and Price T.G. Access path selection in a relational database management system. In Proc. ACM SIGMOD Int. Conf. on Management of Data., 1979, pp. 23–34.Google Scholar
  8. 8.
    Yu C.T. and Meng W. Principles of Database Query Processing for Advanced Applications. Morgan Kaufmann, 1997.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2009

Authors and Affiliations

  • Volker Markl
    • 1
  1. 1.IBM Almaden Research CenterSan JoseUSA