首页 | 本学科首页   官方微博 | 高级检索  
     

基于代数的Transform查询优化策略
引用本文:王伟,郭青松,富丽贞,孟小峰.基于代数的Transform查询优化策略[J].计算机研究与发展,2009,46(Z2).
作者姓名:王伟  郭青松  富丽贞  孟小峰
作者单位:中国人民大学信息学院,北京,100872
基金项目:国家自然科学基金项目,国家"八六三"高技术研究发展计划基金项目,教育部博士点基金项目 
摘    要:XQuery/Update中定义了一种特殊的查询--Transform查询.Transform查询类似于关系数据库中的假设查询,可以表示成假设查询的一般形式:"Q when{U}",即查询Q的查询结果是假设数据库执行了更新操作{U}以后的结果,而更新操作U实际不修改数据库的状态.Transform查询需要拷贝XML数据库中的结点,并对拷贝的结点执行更新操作,所以不影响数据库的状态.但该操作通常拷贝和更新了大量与查询结果无关的结点,因此如何减少拷贝与更新操作的代价是Transform查询处理优化的关键.提出了基于OrientXA的Transform查询优化方法,并在NativeXML数据库系统OrientX 3.0里实现和验证了该方法.

关 键 词:Transform查询  查询优化

Algebra-Based Transform Query Optimization Strategy
Wang Wei,Guo Qingsong,Fu Lizhen,Meng Xiaofeng.Algebra-Based Transform Query Optimization Strategy[J].Journal of Computer Research and Development,2009,46(Z2).
Authors:Wang Wei  Guo Qingsong  Fu Lizhen  Meng Xiaofeng
Abstract:XQuery/Update defines a special Transform query,which is similar to the hypothetical query in relation databases and can be expressed as:"Q when{U}".In other words,the results of query Q are same as the results after executing hypothetical update {U} on the original database,without actually updating database.The transform queries need to copy the nodes in XML database and then update copied nodes,so it doesn't affect the database.But transform queries will usually copy and update a lot of nodes which are useless for query Q and result in high cost.It is critical for query optimization to decrease the number of copied nodes and the update operation.In this paper,a set of rules for transform query optimization techniques are proposed based on OrientXA.They are implemented in OrientX3.0.
Keywords:XML  Xquery/Update  XML  XQHery/Update  transform query  query optimize
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号