高效处理基于递归层次的上翻操作  

Efficiently Process Rollup Operation on Recursive Hierarchy in Data Warehouse

在线阅读下载全文

作  者:袁霖[1] 邹恒明[1] 李战怀[2] 

机构地区:[1]上海交通大学计算机科学与工程系,上海200240 [2]西北工业大学计算机学院,陕西西安710072

出  处:《微电子学与计算机》2007年第12期134-137,共4页Microelectronics & Computer

基  金:国家自然科学基金项目(60073055)

摘  要:上翻(Rollup)作为OLAP的核心操作,将多维数据按维层次聚集,使用户能够在不同粒度上对数据进行观察。尽管基于常规层次的上翻操作,可被数据仓库高效地处理。然而,对于递归层次而言,由于SQL递归对于聚集函数分层的限制,如果将上翻操作表示为SQL递归查询,则会导致效率低下。为解决这一效率问题,文中专门针对OLAP的特点,提出了一个基于迭代的上翻操作计算策略,并利用对象关系技术,将这一策略无缝地嵌入到数据仓库之中。实验表明,其效率远远高于SQL递归计算策略。Rollup, a key operation in OLAP queries, is to aggregate multidimensional data on dimensional hierarchies. While the operation can be efficiently implemented on regular hierarchies in data warehouse, its application to reeursive hierarchies proved to be problematic. Due to the stratification restriction, representing rollup operation on recursive hierarchy as SQL recursive query will cause considerable overhead and is thus inefficient. To avoid this inefficient problem, this paper proposes an iteration-based evaluation strategy. In our solution, aggregation on recursive hierarchy is modeled as a binary operator tree which is stored in its postfix notation and executed by a push down stack. We also demonstrate how to seamlessly embed this novel strategy into data warehouse that is based on ORDBMS. Experiment shows that our proposed solution is quite efficient compared with the SQL recursive evaluation strategy.

关 键 词:联机分析处理 上翻操作 层次 聚集 SQL递归查询 对象关系数据库 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象