• DocumentCode
    1038804
  • Title

    Semantic query optimization for tree and chain queries

  • Author

    Sun, Wei ; Yu, Clement T.

  • Author_Institution
    Dept. of Electr. Eng. & Comput. Sci., Illinois Univ., Chicago, IL, USA
  • Volume
    6
  • Issue
    1
  • fYear
    1994
  • fDate
    2/1/1994 12:00:00 AM
  • Firstpage
    136
  • Lastpage
    151
  • Abstract
    Semantic query optimization, or knowledge-based query optimization, has received increasing interest in recent years. The authors provide an effective and systematic approach to optimizing queries by appropriately choosing semantically equivalent transformations. Basically, there are two different types of transformations: transformations by eliminating unnecessary joins, and transformations by adding/eliminating redundant beneficial/nonbeneficial selection operations (restrictions). A necessary and sufficient condition to eliminate a single unnecessary join is provided. We prove that it is 𝒩𝒫-𝒞omplete to eliminate as many unnecessary joins as possible for various types of acyclic queries with the exception of the closure chain queries whose query graphs are chains and all equi-join attributes are distinct. An algorithm is provided to minimize the number of joins in tree queries. This algorithm has an important property that, when applied to a closure chain query, it will yield an optimal solution with the time complexity O(n*m), where n is the number of relations referenced in the chain query, and m is the time complexity of a restriction closure computation
  • Keywords
    computational complexity; database theory; knowledge based systems; query processing; trees (mathematics); NP complete; acyclic queries; chain queries; closure chain queries; equi-join attributes; knowledge-based query optimization; query graphs; redundant beneficial/nonbeneficial selection operations; restriction closure computation; semantic query optimization; semantically equivalent transformations; time complexity; tree queries; unnecessary joins; Computer science; Councils; Databases; Marine technology; Oceans; Qualifications; Query processing; Sufficient conditions; Sun; Tree graphs;
  • fLanguage
    English
  • Journal_Title
    Knowledge and Data Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1041-4347
  • Type

    jour

  • DOI
    10.1109/69.273033
  • Filename
    273033