XSelMark: A Micro-benchmark for Selectivity Estimation Approaches of XML Queries

  • Sherif Sakr
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5181)


Estimating the sizes of query results and intermediate results is a crucial part of any effective query optimization process. Due to several reasons, the selectivity estimation problem in the XML domain is more complicated than that in the relational domain. Several research efforts have proposed selectivity estimation approaches in the XML domain. Lacking of a suitable benchmark was one of the main reasons which prevented a real assessment and comparison between the approaches to be conducted. In this paper we propose a selectivity estimation benchmark for XML queries, XSelMark. It consists of a set of 25 queries organized into seven groups and covers the main aspects of selectivity estimation of XML queries. These queries have been designed with respect to an XML document instance of a popular benchmark for XML data management, XMark. In addition, we suggest some criteria of assessing the capability and quality of XML queries selectivity estimation approaches. Finally, we use the proposed benchmark to assess the capabilities of the-state-of-the-art of the selectivity estimation approaches.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    XSelMark: A Micro-Benchmark of Selectivity Estimation of XML Queries, http://XSelMark.sourceforge.net/
  2. 2.
    Aboulnaga, A., Alameldeen, A., Naughton, J.: Estimating the Selectivity of XML Path Expressions for Internet Scale Applications. In: VLDB (2001)Google Scholar
  3. 3.
    Böhme, T., Rahm, E.: XMach-1: A Benchmark for XML Data Management. In: BTW (2001)Google Scholar
  4. 4.
    Eisenberg, A., Melton, J.: Advancements in SQL/XML. SIGMOD Record 33(3), 79–86 (2004)CrossRefGoogle Scholar
  5. 5.
    Fernández, M., Malhotra, A., Marsh, J., Nagy, M., Walsh, N.: XQuery 1.0 and XPath 2.0 Data Model (XDM). World Wide Web Consortium Proposed Recommendation (November 2006), http://www.w3.org/TR/xpath-datamodel
  6. 6.
    Fisher, D., Maneth, S.: Structural Selectivity Estimation for XML Documents. In: ICDE (2007)Google Scholar
  7. 7.
    Franceschet, M.: XPathMark: An XPath Benchmark for the XMark Generated Data. Database and XML Technologies (2005)Google Scholar
  8. 8.
    Freire, J., Haritsa, J., Ramanath, M., Roy, P., Siméon, J.: StatiX: making XML count. In: SIGMOD (2002)Google Scholar
  9. 9.
    Grust, T., Sakr, S., Teubner, J.: XQuery on SQL Hosts.. In: VLDB (2004)Google Scholar
  10. 10.
    Li, H., Lee, M., Hsu, W., Cong, G.: An Estimation System for XPath Expressions. In: ICDE (2006)Google Scholar
  11. 11.
    Liefke, H., Suciu, D.: XMill: An efficient compressor for XML data. In: Chen, W., Naughton, J.F., Bernstein, P.A. (eds.) SIGMOD (2000)Google Scholar
  12. 12.
    Lim, L., Wang, M., Vitter, J., Parr, R.: XPathLearner: An On-line Self-Tuning Markov Histogram for XML Path Selectivity Estimation. In: VLDB (2002)Google Scholar
  13. 13.
    Michiels, P., Manolescu, I., Miachon, C.: Toward microbenchmarking XQuery. Information System 33(2) (2008)Google Scholar
  14. 14.
    Nicola, M., Kogan, I., Schiefer, B.: An XML transaction processing benchmark. In: SIGMOD (2007)Google Scholar
  15. 15.
    Polyzotis, N., Garofalakis, M.: XCluster Synopses for Structured XML Content. In: ICDE (2006)Google Scholar
  16. 16.
    Sakr, S.: Cardinality-Aware and Purely Relational Implementation of an XQuery Processor. PhD thesis, University of Konstanz (2007)Google Scholar
  17. 17.
    Schmidt, A., Waas, F., Kersten, M., Carey, M., Manolescu, I., Busse, R.: XMark: A Benchmark for XML Data Management. In: VLDB (2002)Google Scholar
  18. 18.
    Teubner, J., Grust, T., Sakr, S., Maneth, S.: Dependable Cardinality Forecasts for XQuery. In: VLDB (2008)Google Scholar
  19. 19.
    Wang, W., Jiang, H., Lu, H., Xu Yu, J.: Bloom Histogram: Path Selectivity Estimation for XML Data with Updates. In: VLDB (2004)Google Scholar
  20. 20.
    Yao, B., Özsu, T., Keenleyside, J.: XBench - A Family of Benchmarks for XML DBMSs. In: VLDB Workshop (2003)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Sherif Sakr
    • 1
  1. 1.National ICT Australia (NICTA)SydneyAustralia

Personalised recommendations