• DocumentCode
    2729588
  • Title

    Hypertree Decompositions for Query Optimization

  • Author

    Ghionna, L. ; Granata, L. ; Greco, Giuseppe ; Scarcello, Francesco

  • Author_Institution
    Calabria Univ., Rende, Italy
  • fYear
    2007
  • fDate
    15-20 April 2007
  • Firstpage
    36
  • Lastpage
    45
  • Abstract
    The database community has investigated many structure-driven methods, which guarantee that large classes of queries may be answered in (input-output) polynomial-time. However, despite their very nice computational properties, these methods are not currently used for practical applications, since they do not care about output variables and aggregate operators, and do not exploit quantitative information on the data. In fact, none of these methods has been implemented inside any available DBMS. This paper aims at filling this gap between theory and practice. First, we define an extension of the notion of hypertree decomposition, which is currently the most powerful structural method. This new version, called query-oriented hypertree decomposition, is a suitable relaxation of hypertree decomposition designed for query optimization, and such that output variables and aggregate operators can be dealt with. Based on this notion, a hybrid optimizer is implemented, which can be used on top of available DBMSs to compute query plans. The prototype is also integrated into the well-known open-source DBMS PostgreSQL. Finally, we validate our proposal with a thorough experimental activity, conducted on PostgreSQL and on a commercial DBMS, which shows that both systems may significantly benefit from using hypertree decompositions for query optimization.
  • Keywords
    database management systems; query processing; PostgreSQL; database management system; hybrid optimizer; open-source DBMS; query optimization; query plans; query-oriented hypertree decomposition; Aggregates; Cost function; Databases; Design optimization; Filling; Open source software; Polynomials; Proposals; Prototypes; Query processing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
  • Conference_Location
    Istanbul
  • Print_ISBN
    1-4244-0802-4
  • Type

    conf

  • DOI
    10.1109/ICDE.2007.367849
  • Filename
    4221652