Micro-specialization: dynamic code specialization of database management systems
Micro-specialization: dynamic code specialization of database management systems
复制标题
微专业化:数据库管理系统的动态代码专业化
DOI:
--
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
R. Snodgrass
中科院分区:
文献类型:
--
作者:
Rui Zhang;S. Debray;R. Snodgrass
Database management systems (DBMSes) form a cornerstone of modern IT infrastructure, and it is essential that they have excellent performance. Much of the work to date on optimizing DBMS performance has emphasized ensuring efficient data access from secondary storage. This paper shows that DBMSes can also benefit significantly from dynamic code specialization. Our approach focuses on the iterative query evaluation loops typically used by such systems. Query evaluation involves extensive references to the relational schema, predicate values, and join types, which are all invariant during query evaluation, and thus are subject to dynamic value-based code specialization.
We introduce three distinct types of specialization, each corresponding to a particular kind of invariant. We realize these techniques, in concert termed micro-specialization, via a DBMS-independent run-time environment and apply them to a high-performance open-source DBMS, PostgreSQL. We show that micro-specialization requires minimal changes to the DBMS and can yield performance improvements simultaneously across a wide range of queries and modifications, in terms of storage, CPU usage, and I/O time of standard DBMS benchmarks. We also discuss an integrated development environment that helps DBMS developers apply micro-specializations to identified target code sequences.
DOI:
10.14778/2002938.2002940
发表时间:
2011
期刊:
Proc. VLDB Endow.
影响因子:
--
作者:
T. Neumann
通讯作者:
T. Neumann