发明名称 Methods of micro-specialization in database management systems
摘要 Systems and methods for utilizing relation- and query-specific information to specialize DBMS code at runtime based on identifying runtime locally invariant variables. Runtime invariant is often of the form of variables in code that hold values that are constant during a portion of code execution. Micro-specialization is applied to eliminate from the original program unnecessary code such as branching statements that reference local invariant(s) in branch-condition evaluation. The resulting specialized code reduces the code complexity as well as significantly improves the runtime efficiency during code execution.
申请公布号 US9607017(B2) 申请公布日期 2017.03.28
申请号 US201214368265 申请日期 2012.12.21
申请人 THE ARIZONA BOARD OF REGENTS ON BEHALF OF THE UNIVERSITY OF ARIZONA 发明人 Debray Saumya K.;Snodgrass Richard T.;Zhang Rui
分类号 G06F7/00;G06F17/30 主分类号 G06F7/00
代理机构 Hayes Soloway P.C. 代理人 Hayes Soloway P.C.
主权项 1. A computer-implemented method for a database management system (DBMS), the method comprising: identifying a locally invariant variable in general DBMS code that executes a portion of a query whose value is invariant or takes on a deterministic sequence of values within a query evaluation loop; identifying DBMS code that is rendered unnecessary due to the variable being locally invariant; generating micro-specialized DBMS code to replace the DBMS code identified as being unnecessary due to the locally invariant variable, wherein when executed, the micro-specialized DBMS code performs the same function as the unnecessary DBMS code with fewer instructions; modifying the general DBMS code such that the generated micro-specialized DBMS code is executed instead of the unnecessary DBMS code during execution of the query evaluation loop, and further comprising, prior to identifying the locally invariant variable, identifying frequency executed code paths of the general DBMS code by static analysis including constructing a static call graph and dynamic analysis configured to identify a strongly connected component representative of the query evaluation group.
地址 Tucson AZ US