期刊文献+

基于部分求值的Twig查询优化 被引量:1

Twig Query Optimization Based on Partial Evaluation
下载PDF
导出
摘要 Tree Match算法是一种有效的Twig查询匹配算法,但其存在反复分析Twig模式的缺点。针对该问题,引入编译中的部分求值技术,提出一种Twig查询优化方案。通过部分求值提前完成对Twig模式的分析,生成查询专用的指令序列代替原查询程序,并给出查询机执行引擎,从而消除重复计算,优化XML树模式查询过程。实验结果表明,在不同Twig模式下,该优化方案能够有效提高XML查询的执行效率。 Tree Match algorithm is widely considered to be an effective Twig query algorithm. According to the disadvantage of Tree Match algorithm 's repeated analysis on Twig pattern,partial evaluation technology in the field of compilation is applied,and a Twig query optimization scheme is proposed. Analysis on Twig pattern is completed ahead of scheduling through partial evaluation,generating instruction sequences for query to replace the original query program,and a special execution engine of query machine is provided,thus eliminating repeated calculation and optimizing the e Xtensible Markup Language( XML) tree pattern query. Experimental results showthat the proposed optimization scheme can effectively improve the execution efficiency of XML query in different Twig patterns.
出处 《计算机工程》 CAS CSCD 北大核心 2016年第3期53-60,68,共9页 Computer Engineering
基金 国家自然科学青年基金资助项目"XQuery语言运行时自动程序例化技术的研究"(61202074) 北京市自然科学基金资助项目"面向XQuery语言的树模式查询技术研究"(4122011)
关键词 可扩展标记语言数据库 XQUERY语言 XPath语言 TWIG查询 编译 部分求值 树模式查询 eXtensible Markup Language(XML) database XQuery language XPath language Twig query compilation partial evaluation tree pattern query
  • 相关文献

参考文献14

  • 1Jagadish H, Lakshmanan L, Srivastava D, et al. TAX : A Tree Algebra for XML I C l//Proceedings of the 8th International Workshop on Databases and Programming Languages. Berlin, Germany: Springer-Verlag, 2001: 149-164.
  • 2Zhang Chun, Naughton J, DeWitt D, et al. On Supporting Containment Queries in Relational Database Manage- ment Systems I C ]//Proceedings of the 20th ACM SIGMOD International Conference on Management of Data. New York, USA : ACM Press ,2001:425-436.
  • 3Bruno N,Koudas N, Srivastava D. Holistic Twig Joins: Optimal XML Pattern Matching I C ]//Proceedings of the 21st ACM SIGMOD International Conference on Management of Data. New York, USA: ACM Press, 2002:310-321.
  • 4Qin Lu,Yu J X,Ding Bolin. TwigList:Make Twig Pattern Matching Fast[ C ]//Proceedings of DASFAA' 07. Berlin, Germany : Springer-Vertag ,2007:850-862.
  • 5Lu Jianheng,Ling T W, Chan C, et al. From Region Encoding to Extended Dewey:On Efficient Processing of XML Twig Pattern Matching I C l//Proceedings of the 31st Conference in the Series of the Very Large Data Bases. I S. 1. I :VLDB Endowment,2005:193-204.
  • 6Lu Jiaheng,Ling T W, Bao Zhifeng, et al. Extended XML Tree Pattern Matching: Theories and Algorithms I J 1. IEEE Transactions on Knowledge and Data Engineering, 2011, 23(3) :402-416.
  • 7高红雨,廖湖声.面向对象程序设计语言的部分求值动作分析[J].计算机工程,2006,32(9):72-74. 被引量:1
  • 8Bondorf A. Improving Binding Times Without Explicit CPS-conversion ~ C ]//Proceedings of ACM Conference on LISP and Functional Programming. New York, USA : ACM Press, 1992 : 1-10.
  • 9苏航,廖湖声.XQuery语言的部分求值技术的研究[J].计算机工程与科学,2006,28(z2):160-160. 被引量:1
  • 10Buneman P,Cong Gao,Fan Wenfei, et al. Using Partial Evaluation in Distributed Query Evaluation ~ C ~//Pro- ceedings of VLDB 2006. [ S. 1. I : VLDB Endowment, 2006:211-222.

二级参考文献47

  • 1吴晶,廖湖声.实现函数式语言部分求值器的约束时间分析[J].计算机工程与科学,1997,19(1):48-52. 被引量:1
  • 2[1]http://www.w3.org/TR/xquery-full-text,2006-01.
  • 3[2]N D Jones,et al.Partial Evaluation and Automatic Program Generation[A].International Series in Computer Science[M].Prentice Hall,1993.
  • 4Diao Yanlei.Query Processing for Large-scale XML Message Brokering[D].Los Angeles,USA:University of California,2005.
  • 5Hong Mingsheng,Demers A J,Gehrke J,et al.White:Massively Multi-query Join Processing in Publish/Subscribe Systems[C]//Proc.of SIGMOD'07.Beijing,China:[s.n.],2007.
  • 6李永锋.发布/订阅过滤算法[C]//中国计算机大会论文集.苏州:[出版者不详],2007.
  • 7AI-Khalifa S, Jagadish H V, Patel J M, et al. Structural Joins: A Primitive for Efficient XML Query Pattern Matching[C]//Proc. of the 18th Int’l Conf. on Data Engineering. [S. l.]: IEEE Press, 2002.
  • 8Bruno N, Koudas N, Srivastava D. Holistic Twig Joins: Optimal XML Pattern Matching[C]//Proc. of the SIGMOD Int'l Conf. on Management of Data. Madison, USA: ACM Press, 2002.
  • 9Liu Zheng, Jeffrey X Y, Ding Bolin. TwigList: Make Twig Pattern Matching Fast[C]//Proc. of DASFAA'07. Bangkok, Thailand: [s. n.], 2007.
  • 10Official Website for SAX[EB/OL]. [2011-06-21]. http://www.sax project.org/.

共引文献9

同被引文献8

引证文献1

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部