• DocumentCode
    2848717
  • Title

    Predicate Derivation and Monotonicity Detection in DB2 UDB

  • Author

    Malkemus, T. ; Padmanabhan, Sharmila ; Bhattacharjee, Bishwaranjan

  • Author_Institution
    IBM T.J. Watson Resource Center
  • fYear
    2005
  • fDate
    05-08 April 2005
  • Firstpage
    939
  • Lastpage
    947
  • Abstract
    DB2 Universal Database allows database schema designers to specify generated columns. These generated columns are useful for maintaining rollup hierarchy variables in warehouses (e.g., date, month, quarter). In order for the generated columns to be useful for query processing, queries must automatically make use of such columns when applicable. In particular, query predicates on the original columns should be rewritten to make use of the generated columns. In this paper, we describe two main aspects of this predicate rewriting technique that allows usage of the generated columns for a variety of query predicate types. The first aspect, monotonicity detection, allows for rewrites in the case of range predicates. The second aspect, predicate derivation, is the technique for using generating expressions for query processing. We show the value of this technique for providing significant performance improvement when combined with indexing or multidimensional clustering in DB2.
  • Keywords
    database management systems; query processing; rewriting systems; DB2 universal database; monotonicity detection; multidimensional clustering; predicate derivation; predicate rewriting technique; query processing; Data analysis; Databases; Indexing; Laboratories; Multidimensional systems; Organizing; Partitioning algorithms; Query processing; Routing; Silicon;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2005. ICDE 2005. Proceedings. 21st International Conference on
  • ISSN
    1084-4627
  • Print_ISBN
    0-7695-2285-8
  • Type

    conf

  • DOI
    10.1109/ICDE.2005.110
  • Filename
    1410205