• DocumentCode
    3305479
  • Title

    Exploiting upper and lower bounds in top-down query optimization

  • Author

    Shapiro, Leonard ; Maier, David ; Benninghoff, Paul ; Billings, Keith ; Fan, Yubo ; Hatwal, Kavita ; Wang, Quan ; Zhang, Yu ; Wu, Hsiao-min ; Vance, Bennet

  • Author_Institution
    Portland State Univ., OR, USA
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    20
  • Lastpage
    33
  • Abstract
    System R´s bottom-up query optimizer architecture forms the basis of most current commercial database managers. The paper compares the performance of top-down and bottom-up optimizers, using the measure of the number of plans generated during optimization. Top down optimizers are superior according to this measure because they can use upper and lower bounds to avoid generating groups of plans. Early during the optimization of a query, a top-down optimizer can derive upper bounds for the costs of the plans it generates. These bounds are not available to typical bottom-up optimizers since such optimizers generate and cost all subplans before considering larger containing plans. These upper bounds can be combined with lower bounds, based solely on logical properties of groups of logically equivalent subqueries, to eliminate entire groups of plans from consideration. We have implemented such a search strategy, in a top-down optimizer called Columbia. Our performance results show that the use of these bounds is quite effective, while preserving the optimality of the resulting plans. In many circumstances this new search strategy is even more effective than heuristics such as considering only left deep plans
  • Keywords
    computational complexity; data structures; query processing; relational databases; Columbia; System R; bottom-up query optimizer architecture; commercial database managers; heuristics; left deep plans; logical properties; logically equivalent subqueries; query optimization; search strategy; top-down optimizers; top-down query optimization; Cost function; Distributed databases; Dynamic programming; Investments; Query processing; Subcontracting; Upper bound;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Database Engineering and Applications, 2001 International Symposium on.
  • Conference_Location
    Grenoble
  • Print_ISBN
    0-7695-1140-6
  • Type

    conf

  • DOI
    10.1109/IDEAS.2001.938068
  • Filename
    938068