Abstract
We extend a recently proposed model checking-based algorithm for the evaluation of XPath queries with a cache strategy to store the results of the (most frequently) asked queries and to re-use them at occurrence. We experimentally show that, as soon as the cache is warm, the proposed optimization is quite effective. We complement our proposal with a broad experimental comparison of different strategies for XPath query processing.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
World Wide Web Consortium: XML Path Language (XPath) Version 1.0 (1999), http://www.w3.org/TR/xpath
World Wide Web Consortium: XML Path Language (XPath) Version 2.0 (2005), http://www.w3.org/TR/xpath20
World Wide Web Consortium: XQuery 1.0: An XML Query Language (2005), http://www.w3.org/TR/xquery
Gottlob, G., Koch, C., Pichler, R.: Efficient algorithms for processing XPath queries. In: VLDB, pp. 95–106 (2002)
Gottlob, G., Koch, C., Pichler, R.: XPath query evaluation: Improving time and space efficiency. In: ICDE, pp. 379–390 (2003)
Gottlob, G., Koch, C., Pichler, R.: Efficient algorithms for processing XPath queries. ACM Transactions on Database Systems 30, 444–491 (2005)
Afanasiev, L., Franceschet, M., de Rijke, M., Marx, M.: CTL model checking for processing simple XPath queries. In: TIME, pp. 117–124 (2004)
Hartel, P.: A trace semantics for positive Core XPath. In: TIME, pp. 103–112 (2005)
Franceschet, M., Zimuel, E.: Modal logic and navigational XPath: an experimental comparison. In: M4M, pp. 156–172 (2005)
Neven, F.: Automata theory for XML researchers. SIGMOD Record 31, 39–46 (2002)
Neven, F., Schwentick, T.: Query automata over finite trees. Theoretical Computer Science 275, 633–674 (2002)
Koch, C.: Efficient processing of expressive node-selecting queries on XML data in secondary storage: A tree automata-based approach. In: VLDB, pp. 249–260 (2003)
Al-Khalifa, S., Jagadish, H.V., Koudas, N., Patel, J.M., Srivastava, D., Wu, Y.: Structural joins: A primitive for efficient XML query pattern matching. In: ICDE, pp. 141–152 (2002)
Bruno, N., Koudas, N., Srivastava, D.: Holistic twig joins: optimal XML pattern matching. In: SIGMOD Conference, pp. 310–321 (2002)
Grust, T.: Accelerating XPath location steps. In: SIGMOD Conference, pp. 109–120 (2002)
Fan, W., Park, S., Wang, H., Yu, P.S.: ViST: A dynamic index method for querying XML data by tree structures. In: SIGMOD Conference, pp. 110–121 (2003)
Moon, B., Rao, P.: PRIX: Indexing and querying XML using Prüfer sequences. In: ICDE, pp. 288–300 (2004)
Moro, M.M., Tsotras, V.J., Vagena, Z.: Tree-pattern queries on a lightweight XML processor. In: VLDB, pp. 205–216 (2005)
Chen, C., Hsu, W., Li, H., Lee, M.L.: An evaluation of XML indexes for structural join. SIGMOD Record 33, 28–33 (2004)
Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking. The MIT Press, Cambridge (1999)
Marx, M.: Conditional XPath, the first order complete XPath dialect. In: PODS, pp. 13–22 (2004)
Blackburn, P., de Rijke, M., Venema, Y.: Modal Logic. Cambridge University Press, Cambridge (2001)
Hsu, W., Lee, M.L., Yang, L.H.: Efficient mining of XML query patterns for caching. In: VLDB, pp. 69–80 (2003)
Afanasiev, L., Franceschet, M., Marx, M., Zimuel, E.: XCheck: A platform for benchmarking XQuery engines (demonstration). In: VLDB (2006), http://ilps.science.uva.nl/Resources/XCheck
Hooker, J.N.: Testing heuristics: We have it all wrong. Journal of Heuristics 1, 33–42 (1996)
Afanasiev, L., Manolescu, I., Michiels, P.: MemBeR: a micro-benchmark repository for XQuery. In: Bressan, S., Ceri, S., Hunt, E., Ives, Z.G., Bellahsène, Z., Rys, M., Unland, R. (eds.) XSym 2005. LNCS, vol. 3671, pp. 144–161. Springer, Heidelberg (2005)
Franceschet, M.: XPathMark: an XPath benchmark for XMark generated data. In: Bressan, S., Ceri, S., Hunt, E., Ives, Z.G., Bellahsène, Z., Rys, M., Unland, R. (eds.) XSym 2005. LNCS, vol. 3671, pp. 129–143. Springer, Heidelberg (2005), http://www.science.uva.nl/~francesc/xpathmark
Schmidt, A., Waas, F., Kersten, M.L., Carey, M.J., Manolescu, I., Busse, R.: XMark: A benchmark for XML data management. In: VLDB, pp. 974–985 (2002), http://www.xml-benchmark.org
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Franceschet, M., Zimuel, E. (2006). A Logic-Based Approach to Cache Answerability for XPath Queries. In: Amer-Yahia, S., Bellahsène, Z., Hunt, E., Unland, R., Yu, J.X. (eds) Database and XML Technologies. XSym 2006. Lecture Notes in Computer Science, vol 4156. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11841920_4
Download citation
DOI: https://doi.org/10.1007/11841920_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-38877-7
Online ISBN: 978-3-540-38879-1
eBook Packages: Computer ScienceComputer Science (R0)