Research on Optimization Technique in Multi-join Operation with Main-memory Storage Model

张延松,于利胜,王珊,陈红
DOI: https://doi.org/10.3778/j.issn.1673-9418.2010.06.005
2010-01-01
Abstract:On analysis of database techniques facing advanced hardware,a novel optimization technique in multi-join operation based on main-memory storage model is proposed which stores dimensional tables in main-memory.By serializing primary keys of dimensional tables,the primary keys are equal to offset values of main-memory dimensional tuples,so dimensional tuples can be directly accessed by start address of dimensional table plus offset value.Further optimization is proposed by decomposing dimensional tables into main-memory column structures with single or several fields of dimensional table in order to reduce tuple width for better cache performance.In experiments,simulating algorithms of traditional query plan of SQL Server 2005,join index algorithm and optimized column model join algorithm are compared for performance analysis.The results show that multi-join operation based on main-memory storage model algorithm has better performance in processing complex queries in star-schema data warehouse with multiple predicates and multiple join operations.Compared with join index algorithm,the performance is equal and no additional space cost is needed.Compared with column storage model,this algorithm has better compatibility and performance,and it can also be implemented in traditional disk resident database systems.
What problem does this paper attempt to address?