- 1
- 0
- 约 15页
- 2017-07-29 发布于湖北
- 举报
第 28卷 第 1期 计 算 机 学 报 Vol_28 No.1
2005年 1月 CHINESE J0URNAL0F COMPUTERS Jan.2005
基于区间编码的XML索引结构的有效结构连接
万常选” 刘云生 徐升华” 刘喜平” 林大海”
(江西财经大学信息管理学院 南 昌 330013)
(华 中科技大学计算机科学与技术学院 武汉 430074)
摘 要 该文给出了一个 XML树数据模型的形式化定义.将编码方案、逆序列表和路径索引的思想相结合 ,提出
了一种改进的XML数据的索引结构 ;给出了两个实现双亲 /孩子关系和拥有关系的结构连接算法 ,它们最多 只需
要对参与连接的两个列表分别进行一次扫描 ,并且能够根据双亲结构信息等利用 B 一树索引尽可能多地跳过不需
要参与连接的元素结点.实验结果表 明,该文给出的基于 XML索引结构实现双亲 /孩子关系和拥有关 系的结构连
接算法是高效的、健壮的.
关键词 XML数据模型 ;XML索引结构;区间编码 ;结构连接;拥有关系
中图法分类号 TP311
IndexingXM L DataBasedon Region Coding
forEfficientProcessingofStructuralJoins
W AN Chang—Xuan · LIU Yun—Sheng XU Sheng—Hua LIU Xi—Ping LIN Da-Hai
”(SchoolofInformationTechnology,JiangxiUniversityofFinance&Economics。Nanchang 330013)
(SchoolofComputerScience& Technology。HuazhongUniversityofScience& Technology.Wuhan 430074)
Abstract Firstly,thispapergivesaformaldefinitionofXM L treedatamodelincontextenviron—
ment.Secondly,itproposesan improved indexstructuretoretrieveXM L databasedontheidea
ofthenumbering scheme,theinverted listand thepath index.Thisindex structurecanprocess
XQuerypathexpressionsviatwomethods:Stepwisestructuraljoinmethodandpathmethod.
Furthermore,itenablesUStoquicklydetermineancestor/descendantrelationshipsandparent/
childrelationshipsbetween anypairofnodesin theXM L trees,thuscanefficientlyprocesscon—
tainmentjoinsinXQuerypathexpressionqueriesandkeywordsearches.Finally,thispaperpres—
entstwoalgorithmsforprocessingstructuraljoinsofparent/childrelationshipandholdingrela—
tionship,whichleadtooptimaljoinperformancebyavoidingscanningoneachlistjoinedrepeated—
lyandomittingtheexaminationofelements,whichdonotparticipateinthe oin,viaB
原创力文档

文档评论(0)