引用本文:吕建华,王国仁,于戈.XML数据的路径表达式查询优化技术.软件学报,2003,14(9):1615-1620
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4624次   下载 7175 本文二维码信息
码上扫一扫!
分享到: 微信 更多
XML数据的路径表达式查询优化技术
吕建华1, 王国仁1, 于戈1
东北大学,信息科学与工程学院,辽宁,沈阳,110004
摘要:
路径表达式作为XML数据查询语言的核心部分,关于它的计算方法的研究成果已有很多,然而针对路径表达式本身进行优化的研究却相对较少.提出了两种针对路径表达式的优化策略:路径缩短策略和补路径策略,从而提高了XML路径查询效率.路径缩短策略根据XML文档模式信息,将路径表达式查询长度缩短,从而简化查询本身以降低需要的查询代价;而补路径策略则试图使用代价更小的等价路径表达式来替换原始查询.经过对实验数据的分析,这两种优化策略对于绝大多数路径表达式查询可以应用,并可大幅度地改进路径表达式的查询性能.
关键词:  XML  路径表达式  查询处理  查询代价  查询优化
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.60173051, 60273079 (国家自然科学基金); the Foundation of Teaching and Research Award Program for Outstanding Young Teachers in Higher Education Institution of China (教育部高等学校优秀青年教师教学和科研奖
Optimizing Path Expression Queries of XML Data
Lü Jian-Hua,WANG Guo-Ren,YU Ge
Abstract:
Path expression is one of the core components of most XML query languages, and many evaluation methods for path expression queries are proposed recently. However, there are few researches on the issue of path expression optimization. In this paper, two kinds of path expression optimizing principles are proposed, named path shorten and path complementing, respectively. The path shorten principle reduces the querying cost by shortening the path expressions with the knowledge of XML schema. While the path complementing principle tends to substitute the user queries with the equivalent lower-cost path expressions. The experimental results show that these two techniques can work on most path expression queries and largely improve the efficiency of path expression query processing.
Key words:  XML  path expression  query processing  querying cost  query optimization

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: