• DocumentCode
    3451336
  • Title

    Application of Micro-specialization to Query Evaluation Operators

  • Author

    Zhang, Rui ; Snodgrass, Richard T. ; Debray, Saumya

  • fYear
    2012
  • fDate
    1-5 April 2012
  • Firstpage
    315
  • Lastpage
    321
  • Abstract
    Relational database management systems support a wide variety of data types and operations. Such generality involves much branch condition checking, which introduces inefficiency within the query evaluation loop. We previously introduced micro-specialization, which improves performance by eliminating unnecessary branching statements and the actual code branches by exploiting invariants present during the query evaluation loop. In this paper, we show how to more aggressively apply micro-specialization to each individual operator within a query plan. Rather than interpreting the query plan, the DBMS dynamically rewrites its object code to produce executable code tailored to the particular query. We explore opportunities for applying micro-specialization to DBMSes, focusing on query evaluation. We show through an examination of program execution profiles that even with a simple query in which just a few operators are micro-specialized, significant performance improvement can be achieved.
  • Keywords
    query processing; relational databases; DBMS; branch condition checking; code branch; microspecialization application; object code rewriting; program execution profile examination; query evaluation loop; query evaluation operators; query plan; relational database management systems; unnecessary branching statement elimination; Conferences; Data structures; Focusing; Manipulator dynamics; Query processing; Runtime; Switches;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering Workshops (ICDEW), 2012 IEEE 28th International Conference on
  • Conference_Location
    Arlington, VA
  • Print_ISBN
    978-1-4673-1640-8
  • Type

    conf

  • DOI
    10.1109/ICDEW.2012.43
  • Filename
    6313699