Selectivity estimation of extended XML query tree patterns based on prime number labeling and synopsis modeling

Research output: Contribution to journalJournal articlepeer-review

3 Scopus citations


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 languageEnglish
Pages (from-to)30-42
Number of pages13
JournalSimulation Modelling Practice and Theory
StatePublished - May 2016


  • Extended query tree patterns
  • Prime number labeling
  • Query optimization
  • Selectivity estimation
  • XML query
  • XML synopsis


Dive into the research topics of 'Selectivity estimation of extended XML query tree patterns based on prime number labeling and synopsis modeling'. Together they form a unique fingerprint.

Cite this