DocumentCode
2457277
Title
Micro-Specialization in DBMSes
Author
Zhang, Rui ; Snodgrass, Richard T. ; Debray, Saumya
Author_Institution
Dept. of Comput. Sci., Univ. of Arizona, Tucson, AZ, USA
fYear
2012
fDate
1-5 April 2012
Firstpage
690
Lastpage
701
Abstract
Relational database management systems are general in the sense that they can handle arbitrary schemas, queries, and modifications, this generality is implemented using runtime metadata lookups and tests that ensure that control is channelled to the appropriate code in all cases. Unfortunately, these lookups and tests are carried out even when information is available that renders some of these operations superfluous, leading to unnecessary runtime overheads. This paper introduces micro-specialization, an approach that uses relation- and query-specific information to specialize the DBMS code at runtime and thereby eliminate some of these overheads. We develop a taxonomy of approaches and specialization times and propose a general architecture that isolates most of the creation and execution of the specialized code sequences in a separate DBMS-independent module. Through three illustrative types of micro-specializations applied to PostgreSQL, we show that this approach requires minimal changes to a DBMS and can improve the performance simultaneously across a wide range of queries, modifications, and bulk-loading, in terms of storage, CPU usage, and I/O time of the TPC-H and TPC-C benchmarks.
Keywords
SQL; query processing; relational databases; DBMS; PostgreSQL; TPC-C benchmark; TPC-H benchmark; arbitrary scheme handling; microspecialization; modification handling; queries handling; query-specific information; relation-specific information; relational database management system; runtime metadata lookups; specialized code sequence; Arrays; Benchmark testing; Catalogs; Query processing; Runtime; Taxonomy;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering (ICDE), 2012 IEEE 28th International Conference on
Conference_Location
Washington, DC
ISSN
1063-6382
Print_ISBN
978-1-4673-0042-1
Type
conf
DOI
10.1109/ICDE.2012.110
Filename
6228125
Link To Document