• DocumentCode
    3446703
  • Title

    Subquery elimination: a complete unnesting algorithm for an extended relational algebra

  • Author

    Celis, Pedro ; Zeller, Hans

  • fYear
    1997
  • fDate
    7-11 Apr 1997
  • Firstpage
    321
  • Abstract
    Summary form only given, as follows. Research in the area of subquery unnesting algorithms has mostly focused on the problem of making queries more efficient at run-time by transforming subqueries into joins. Unnesting rules describe a transformation of a nested query tree or a nested SQL query into an equivalent tree or SQL query that is no longer nested. However, it is not possible to express all nested queries in a non-nested form, unless the used language (relational algebra or ISO/ANSI SQL) is extended. This means that a database system must continue to have the ability to process subqueries. When working on a new optimizer and executor design for NonStop SQL, our development team was faced with a slightly different problem: we wanted to eliminate the need for optimization and execution of nested queries altogether and were looking for a complete subquery unnesting process. Such a process would allow us to develop a query optimizer and executor that do not need to process subqueries. Our goal was to make use of the existing unnesting algorithms and to extend them in a way that does not necessarily improve or change the execution characteristics of nested queries, but that leads to complete unnesting of all forms of nested queries, as defined by the “full” level of the ISO/ANSI SQL92 standard. To indicate this different approach we call it “subquery elimination” rather than “subquery unnesting”
  • Keywords
    ANSI standards; ISO standards; SQL; relational algebra; relational databases; ISO/ANSI SQL; ISO/ANSI SQL92 standard; NonStop SQL; SQL query; complete unnesting algorithm; database system; executor design; extended relational algebra; nested SQL query; nested query tree; relational algebra; subquery elimination; ANSI standards; Aggregates; Algebra; Computer science; Database systems; Design optimization; ISO standards; Runtime; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 1997. Proceedings. 13th International Conference on
  • Conference_Location
    Birmingham
  • ISSN
    1063-6382
  • Print_ISBN
    0-8186-7807-0
  • Type

    conf

  • DOI
    10.1109/ICDE.1997.583381
  • Filename
    583381