首页 | 官方网站   微博 | 高级检索  
     

基于关系数据库有效地实现RPE查询
引用本文:刘云生,万常选,徐升华. 基于关系数据库有效地实现RPE查询[J]. 小型微型计算机系统, 2003, 24(10): 1764-1771
作者姓名:刘云生  万常选  徐升华
作者单位:1. 华中科技大学,计算机科学与技术学院,湖北,武汉,430074
2. 华中科技大学,计算机科学与技术学院,湖北,武汉,430074;江西财经大学,信息管理学院,江西,南昌,330013
3. 江西财经大学,信息管理学院,江西,南昌,330013
基金项目:江西省教育厅科技项目 (赣教计字 [2 0 0 1] 3 87号 )资助
摘    要:各种XML查询语言的共同特点就是利用正则路径表达式(RPE)来导航XML文档的查询。本文结合我们提出的一种新的XML数据的关系存储模式,对有效地实现RPE查询的相关研究工作进行了总结,并提出了两个有效地实现包含连接的索引改进归并连接算法。算法采用索引定位技术、短路技术和预侦技术来减少连接代价。因此,不仅能够在当前上下文计算环境下有效地实现包含连接的计算,而且能够大量地避免包含连接中不必要的扫描和搜索。

关 键 词:XML关系存储 XML查询 正则路径表达式 包含连接
文章编号:1000-1220(2003)10-1764-08

Efficient Implementing RPE Queries in an RDBMS
LIU Yun-sheng,WAN Chang-xuan ,,XU Sheng-hua. Efficient Implementing RPE Queries in an RDBMS[J]. Mini-micro Systems, 2003, 24(10): 1764-1771
Authors:LIU Yun-sheng  WAN Chang-xuan     XU Sheng-hua
Affiliation:LIU Yun-sheng,WAN Chang-xuan 1,2,XU Sheng-hua 2 1
Abstract:The common feature of the XML query languages is the use of regular path expressions (i.e. RPE) to query XML data. In this paper, we briefly review proposal relational storage schemas for XML documents, which can quickly determine ancestor-descendant relationship between any pair of nodes in the hierarchy of XML data, and effectively supports all query powers in XQuery and keyword searches. We then summary related work for efficient implementation of regular path expression queries based on pre-order lists using an RDBMS. Finally, we develop two algorithms called index improved merge join by using indexing technique, short-circuit technique and pre-spying technique, which are proved to be very efficient by cost analysis. Our algorithms can implement containment joins over the current contexts, and largely avoid useless scanning and seeking over irrelevant fragments of the data for containment joins.
Keywords:XML relational storage  XML query  regular path expression  containment join  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号