• DocumentCode
    3140509
  • Title

    Exhaustive Greedy Algorithm for Optimizing Intermediate Result Sizes of Join Queries

  • Author

    Trongratsameethong, Areerat ; Mitrpanont, Jarernsri L.

  • Author_Institution
    Dept. of Comput. Sci., Mahidol Univ., Bangkok, Thailand
  • fYear
    2009
  • fDate
    1-3 June 2009
  • Firstpage
    463
  • Lastpage
    468
  • Abstract
    The size of the intermediate results produced while executing queries has a direct impact on query optimizers. Larger size of intermediate results requires more memory usage and more computational power to evaluate their join predicates. Furthermore, if memory size is not big enough, secondary storage will be needed. This paper proposes the Exhaustive Greedy (EG) algorithm to optimize the intermediate result sizes of join queries. Exhaustive search and greedy algorithm are combined and modified to identify good join orders. Based on the similar concept of the Greedy Operator Ordering (GOO) algorithm, in order to determine join order selection at subsequent steps, our algorithm also updates join graphs to reflect new size of join nodes and new join selectivities of edges associated with the join nodes at each step. Experiments are conducted and the results reveal that the EG algorithm determines the good join orders. In addition, most intermediate result sizes of join queries estimated by the EG algorithm are comparable to the results estimated by the Exhaustive Search algorithm that is modified to update join graphs, we name it ESU algorithm.
  • Keywords
    computational complexity; graph theory; greedy algorithms; query processing; search problems; ESU algorithm complexity; exhaustive greedy operator ordering algorithm; exhaustive search algorithm; intermediate result size optimization; join graph; join order selection; join query; memory usage; secondary storage; Cities and towns; Computer science; Costs; Dynamic programming; Greedy algorithms; Information science; Polynomials; Query processing; Terminology; Tree graphs; Exhaustive Greedy algorithm; Exhaustive Search algorithm; Exhaustive Search algorithm that is modified to update join graphs; Greedy Operator Ordering algorithm;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer and Information Science, 2009. ICIS 2009. Eighth IEEE/ACIS International Conference on
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-0-7695-3641-5
  • Type

    conf

  • DOI
    10.1109/ICIS.2009.195
  • Filename
    5222932