作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (14): 46-48. doi: 10.3969/j.issn.1000-3428.2010.14.017

• 软件技术与数据库 • 上一篇    下一篇

基于缓存技术的XML代数查询优化

冯 琳1,顾进广1,2,李尧尧1,曹雅楠1   

  1. (1. 武汉科技大学计算机科学与技术学院,武汉 430081;2. 东南大学计算机科学与工程学院,南京 210096)
  • 出版日期:2010-07-20 发布日期:2010-07-20
  • 作者简介:冯 琳(1984-),女,硕士研究生,主研方向:XML数据库,智能信息处理;顾进广,副教授、博士;李尧尧、曹雅楠,硕士研究生
  • 基金资助:
    国家自然科学基金资助项目(60803160);中国博士后科学基金资助项目(20060400275);江苏省博士后科学基金资助项目(0601 009B);武汉科技大学科研基金资助项目(2008RC04, 2008TD04)

Query Optimization of XML Algebra Based on Cache Technology

FENG Lin1, GU Jin-guang1,2, LI Yao-yao1, CAO Ya-nan1   

  1. (1. College of Computer Science and Technology, Wuhan University of Science and Technology, Wuhan 430081;2. College of Computer Science and Engineering, Southeast University, Nanjing 210096)
  • Online:2010-07-20 Published:2010-07-20

摘要: 针对XML代数查询优化,采用缓存技术将经常被查询到的模式树保存在缓存中,根据匹配规则判断查询模式树是否与缓存中的模式树匹配,对匹配的部分直接从缓存中获取部分查询结果,以提高查询效率。分析查询与缓存的模式匹配规则,并通过实验证明该规则的可行性和有效性。

关键词: 模式树, 存, 模式匹配

Abstract: To optimize the XML algebra query, this paper uses the cache technology to save the frequently queried XML pattern trees. It can determine whether the pattern trees of request can match the pattern trees in the cache. The results of the matched one can be got from cache directly to improve the query efficiency. It analyzes the rules of pattern match for query and cache, and proves the feasibility and effectiveness of the rules according to the results of experiment.

Key words: pattern tree, cache, pattern match

中图分类号: