节点文献

基于代数的Transform查询优化策略

Algebra-Based Transform Query Optimization Strategy

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王伟郭青松富丽贞孟小峰

【Author】 Wang Wei,Guo Qingsong,Fu Lizhen,and Meng Xiaofeng (Information School,Renmin University of China,Beijing 100872)

【机构】 中国人民大学信息学院

【摘要】 XQuery/Update中定义了一种特殊的查询——Transform查询.Transform查询类似于关系数据库中的假设查询,可以表示成假设查询的一般形式:"Q when{U}",即查询Q的查询结果是假设数据库执行了更新操作{U}以后的结果,而更新操作U实际不修改数据库的状态.Transform查询需要拷贝XML数据库中的结点,并对拷贝的结点执行更新操作,所以不影响数据库的状态.但该操作通常拷贝和更新了大量与查询结果无关的结点,因此如何减少拷贝与更新操作的代价是Transform查询处理优化的关键.提出了基于OrientXA的Transfom查询优化方法,并在Native XML数据库系统OrientX 3.0里实现和验证了该方法.

【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.

【关键词】 XMLXQuery/UpdateTransform查询查询优化
【Key words】 XMLXQuery/Updatetransform queryquery optimize
【基金】 国家自然科学基金项目(60833005,60573091);国家“八六三”高技术研究发展计划基金项目(2007AA01Z155,2009AA011904);教育部博士点基金项目(200800020002)
  • 【会议录名称】 第26届中国数据库学术会议论文集(B辑)
  • 【会议名称】第26届中国数据库学术会议
  • 【会议时间】2009-10-15
  • 【会议地点】中国江西南昌
  • 【分类号】TP311.13
  • 【主办单位】中国计算机学会数据库专业委员会
节点文献中: