Efficient evaluation of query rewriting plan over materialized XML view

  • Authors:
  • Jun Gao;Jiaheng Lu;Tengjiao Wang;Dongqing Yang

  • Affiliations:
  • Department of Computer Science, Peking University of PR China, 5 Yihe Street, Beijing 100871, PR China and Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of ...;Department of Computer Science, Remin University of PR China, 59 Zhongguocun Street, Beijing 100872, PR China;Department of Computer Science, Peking University of PR China, 5 Yihe Street, Beijing 100871, PR China and Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of ...;Department of Computer Science, Peking University of PR China, 5 Yihe Street, Beijing 100871, PR China and Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of ...

  • Venue:
  • Journal of Systems and Software
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The query rewriting plan generation over XML views has received wide attention recently. However, little work has been done on efficient evaluation of the query rewriting plans, which is not trivial since the plan may contain an exponential size of sub-plans. This paper investigates the reason for the potentially exponential number of sub-plans, and then proposes a new space-efficient form called ABCPlan (Plan with Automata Based Combinations) to equivalently represent the original query rewriting plan. ABCPlan contains a set of buckets containing suffix paths in the query tree and an automata to indicate the combination of the suffix paths from different buckets as valid query rewriting sub-plans. We also design an evaluation method called ABCScan, which constructs a unified evaluation tree for the ABCPlan and handles the evaluation tree in one scan of the XML view. In the evaluation, we introduce node existence automata to encode the structure of the sub-tree and convert the satisfaction of the ABCPlan into the intersection problem of deterministic finite automata. The experiments show that ABCPlan based method outperforms existing methods significantly in terms of scalability and efficiency.