TY - GEN
T1 - Application of micro-specialization to query evaluation operators
AU - Zhang, Rui
AU - Snodgrass, Richard T.
AU - Debray, Saumya
PY - 2012
Y1 - 2012
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=84869043070&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84869043070&partnerID=8YFLogxK
U2 - 10.1109/ICDEW.2012.43
DO - 10.1109/ICDEW.2012.43
M3 - Conference contribution
AN - SCOPUS:84869043070
SN - 9780769547480
T3 - Proceedings - 2012 IEEE 28th International Conference on Data Engineering Workshops, ICDEW 2012
SP - 315
EP - 321
BT - Proceedings - 2012 IEEE 28th International Conference on Data Engineering Workshops, ICDEW 2012
T2 - 2012 IEEE 28th International Conference on Data Engineering Workshops, ICDEW 2012
Y2 - 1 April 2012 through 5 April 2012
ER -