DocumentCode :
3268274
Title :
Selectivity estimation for XML twigs
Author :
Polyzotis, Neoklis ; Garofalakis, Minos ; Ioannidis, Yannis
Author_Institution :
Wisconsin Univ., Madison, WI, USA
fYear :
2004
fDate :
30 March-2 April 2004
Firstpage :
264
Lastpage :
275
Abstract :
Twig queries represent the building blocks of declarative query languages over XML data. A twig query describes a complex traversal of the document graph and generates a set of element tuples based on the intertwined evaluation (i.e., join) of multiple path expressions. Estimating the result cardinality of twig queries or, equivalently, the number of tuples in such a structural (path-based) join, is a fundamental problem that arises in the optimization of declarative queries over XML. It is crucial, therefore, to develop concise synopsis structures that summarize the document graph and enable such selectivity estimates within the time and space constraints of the optimizer. We propose novel summarization and estimation techniques for estimating the selectivity of twig queries with complex XPath expressions over tree-structured data. Our approach is based on the XSKETCH model, augmented with new types of distribution information for capturing complex correlation patterns across structural joins. Briefly, the key idea is to represent joins as points in a multidimensional space of path counts that capture aggregate information on the contents of the resulting element tuples. We develop a systematic framework that combines distribution information with appropriate statistical assumptions in order to provide selectivity estimates for twig queries over concise XSKETCH synopses and we describe an efficient algorithm for constructing an accurate summary for a given space budget. Implementation results with both synthetic and real-life data sets verify the effectiveness of our approach and demonstrate its benefits over earlier techniques.
Keywords :
XML; estimation theory; query languages; query processing; tree data structures; XML twig queries; XPath expression; XSKETCH model; correlation pattern; distribution information; document graph; multiple path expression; query language; selectivity estimation technique; structural join; tree-structured data; Aggregates; Constraint optimization; Database languages; Database systems; Internet; Motion pictures; Multidimensional systems; Time factors; Tree graphs; XML;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2004. Proceedings. 20th International Conference on
ISSN :
1063-6382
Print_ISBN :
0-7695-2065-0
Type :
conf
DOI :
10.1109/ICDE.2004.1320003
Filename :
1320003
Link To Document :
بازگشت