| 本文已被:浏览 5287次 下载 6707次 |
 码上扫一扫! |
|
|
| F-Index:一种加速Twig查询处理的扁平结构索引 |
|
周军锋1,2, 孟小峰1, 蒋瑜1, 谢敏1
|
|
1.中国人民大学,信息学院,北京,100872;2.燕山大学,计算机科学与技术系,河北,秦皇岛,066004
|
|
| 摘要: |
| 如何快速、有效地处理twig形式的查询是XML查询处理的关键问题,通过过滤与查询无关的元素可以减少查询中需要处理的元素数目,从而提高查询的执行效率.提出一种扁平结构索引F-Index,能够快速过滤所有与查询无关的索引结点,进而过滤掉查询无关的元素,在处理深度嵌套的复杂结构XML文档时具有很大的优势.提出一种新的查询算法,能够有效处理过滤后剩余元素的匹配问题.基于不同数据集的实验表明,使用F-Index进行过滤可以极大地提高查询处理的性能. |
| 关键词: XML 查询优化 twig查询 过滤 结构索引 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.60573091, 60273018 (国家自然科学基金); the National Basic Research Program of China under Grant No.2003CB317000 (国家重点基础研究发展计划(973)); the Key Project of Ministry of Education of China under Grant No.03044 (国家教育部科学技术重点项目); the Program for New Century Excellent Talents in University (新世纪优秀人才支持计划) |
|
| F-Index: A Flattened Structural Index for Speeding up Twig Query Processing |
|
ZHOU Jun-Feng,MENG Xiao-Feng,JIANG Yu,XIE Min
|
| Abstract: |
| How to process twig query quickly and correctly has attracted much attention in research society recently. Filtering query irrelevant elements before query execution is an important step for reducing elements scanned at query processing. As a flattened structural index, F-Index is proposed to filter out all query irrelevant index nodes, thus query irrelevant elements can be filtered out rapidly and mostly, especially when it is processing deeply nested XML documents with a complex structure. After filtering, a new efficient query algorithm based on the remaining elements is proposed to accelerate query processing. Experimental results on various datasets indicate that twig query’s performance can be improved significantly by using F-Index. |
| Key words: XML query optimization twig query filtering structural index |