Online prime labeling and generation of synopsis for XML query estimation

Salahadin A. Mohammed, El-Sayed M. El-Alfy, Ahmad F. Barradah · 2015

XML query optimizers use selectivity estimators to choose the best possible query execution plan. However, one the main components of most estimators is the generation of a synopsis of the XML database. In this paper, we present a novel approach for online construction of an XML synopsis based on prime labeling and counting. The resulting synopsis will be used to estimate different path and twig queries with parent-child or ancestor-descendant relationships. Besides the efficiency of the proposed approach in terms of estimation accuracy and low storage requirements, it can process streams of XML documents as they are received. We experimentally compared the proposed algorithm with one of the state-of-the-art algorithms, namely the Sampling, and it showed drastic improvement in the estimation results. For example, when allocating the same memory budget for both algorithms, the overall average error rate of our algorithm was 0.54% whereas it was 55.3% for the Sampling algorithm.

Read the paper · More papers on PaperTik