XML数据的路径表达式查询优化技术 |
| |
引用本文: | 吕建华,王国仁,于戈. XML数据的路径表达式查询优化技术[J]. 软件学报, 2003, 14(9): 1615-1620 |
| |
作者姓名: | 吕建华 王国仁 于戈 |
| |
作者单位: | 东北大学,信息科学与工程学院,辽宁,沈阳,110004 |
| |
基金项目: | 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 (教育部高等学校优秀青年教师教学和科研奖 |
| |
摘 要: | 路径表达式作为XML数据查询语言的核心部分,关于它的计算方法的研究成果已有很多,然而针对路径表达式本身进行优化的研究却相对较少.提出了两种针对路径表达式的优化策略:路径缩短策略和补路径策略,从而提高了XML路径查询效率.路径缩短策略根据XML文档模式信息,将路径表达式查询长度缩短,从而简化查询本身以降低需要的查询代价;而补路径策略则试图使用代价更小的等价路径表达式来替换原始查询.经过对实验数据的分析,这两种优化策略对于绝大多数路径表达式查询可以应用,并可大幅度地改进路径表达式的查询性能.
|
关 键 词: | XML 路径表达式 查询处理 查询代价 查询优化 |
文章编号: | 1000-9825/2003/14(09)1615 |
收稿时间: | 2002-08-12 |
修稿时间: | 2002-08-12 |
Optimizing Path Expression Queries of XML Data |
| |
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. |
| |
Keywords: | XML path expression query processing querying cost query optimization |
本文献已被 CNKI 维普 万方数据 等数据库收录! |
| 点击此处可从《软件学报》浏览原始摘要信息 |
|
点击此处可从《软件学报》下载全文 |
|