Abstract
With the new era of big data and the proliferation of XML documents for representing and exchanging data over the web, selectivity estimation of XML query patterns has become a crucial component of database optimizers. It helps the optimizer choose the best possible plan for query evaluation. Existing selectivity estimators for XML queries can only support basic Query Tree Patterns (QTPs) with logical AND operator. In this paper, we propose a novel approach, called XQuest, for selectivity estimation that supports extended QTPs that may contain logical operators or wildcards. This approach is based on a modified implementation of prime number labeling to construct a structural summary model of the XML data. Subsequently, a simulator of an XML query evaluator runs on the resulting model from the previous stage and aggregates the estimate for each target QTP. We conducted several experiments to study the performance of the proposed approach on three XML benchmark datasets; in terms of synopsis generation time, storage requirements, and estimation accuracy. The results show that the proposed approach can have more accurate estimates with low memory and time requirements. For example, when compared to a Sampling algorithm with the same allocated memory budget, the error rate of the proposed approach never reached 5% whereas it reached 98.5% for the Sampling algorithm.
Original language | English |
---|---|
Pages (from-to) | 30-42 |
Number of pages | 13 |
Journal | Simulation Modelling Practice and Theory |
Volume | 64 |
DOIs | |
State | Published - May 2016 |
Bibliographical note
Publisher Copyright:© 2016
Keywords
- Extended query tree patterns
- Prime number labeling
- Query optimization
- Selectivity estimation
- XML query
- XML synopsis
ASJC Scopus subject areas
- Software
- Modeling and Simulation
- Hardware and Architecture