An Implementation Approach for XQuery Based on Lazy Evaluation

  • Authors:
  • Peng Li;Husheng Liao;Hongli Yang

  • Affiliations:
  • -;-;-

  • Venue:
  • DBTA '09 Proceedings of the 2009 First International Workshop on Database Technology and Applications
  • Year:
  • 2009

Quantified Score

Hi-index 0.01

Visualization

Abstract

In order to accelerate the execution of XQuery, this paper introduces an evaluator named as XML Query Lazy Evaluator (XQLE), which uses lazy evaluation optimization technique. The input language is Functional XML Query Language (FXQL) that is a functional language with concise form. For data model, XQLE uses generalized list with the ability to hold closure and XML node to support lazy calculation of list node. Under lazy mode, the overhead of acquiring the data that has no relationship to the final result of calculation can be eliminated. Finally, we use a lot of example programs to show the lazy evaluator has better performance compared with eager evaluator in the average execution speed.