• DocumentCode
    1804698
  • Title

    Redundancy Awareness in SQL Queries

  • Author

    Cao, Bin ; Badia, Antonio

  • Author_Institution
    University of Louisville
  • fYear
    2006
  • fDate
    2006
  • Abstract
    In this paper, we study SQL queries with aggregate subqueries that share common tables and conditions with the outer query. While several approaches can deal with such queries, they have limited applicability. We propose the redundancy awareness method to detect the largest common part shared by query and subquery, compute it once, and determine what operations are needed to finish evaluation of the original query. Our approach can deal with redundancy in all types of subqueries. We offer the possibility for the optimizer to choose the most efficient plan for a given query. We have implemented our approach on top of a commercial DBMS; our experiments show that our approach compares favorably to existing optimization techniques.
  • Keywords
    Aggregates; Computer science; Conferences; Cost accounting; Data engineering; Decorrelation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering Workshops, 2006. Proceedings. 22nd International Conference on
  • Conference_Location
    Atlanta, GA, USA
  • Print_ISBN
    0-7695-2571-7
  • Type

    conf

  • DOI
    10.1109/ICDEW.2006.126
  • Filename
    1623923