Skip to main content
Log in

An Effective Semantic Cache for Exploiting XPath Query/View Answerability

  • Regular Paper
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

Maintaining a semantic cache of materialized XPath views inside or outside the database is a novel, feasible and efficient approach to facilitating XML query processing. However, most of the existing approaches incur the following disadvantages: 1) they cannot discover enough potential cached views sufficiently to effectively answer subsequent queries; or 2) they are inefficient for view selection due to the complexity of XPath expressions. In this paper, we propose SCEND, an effective Semantic Cache based on dEcompositioN and Divisibility, to exploit the XPath query/view answerability. The contributions of this paper include: 1) a novel technique of decomposing complex XPath queries into some much simpler ones, which can facilitate discovering more potential views to answer a new query than the existing methods and thus can adequately exploit the query/view answerability; 2) an efficient view-section method by checking the divisibility between two positive numbers assigned to queries and views; 3) a cache-replacement approach to further enhancing the query/view answerability; 4) an extensive experimental study which demonstrates that our approach achieves higher performance and outperforms the existing state-of-the-art alternative methods significantly.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Dar S, Franklin M J, Jónsson B T, Srivastava D, Tan M. Semantic data caching and replacement. In Proc. VLDB 1996, Mumbai (Bombay), India, September 3–6, 1996, pp.330–341.

  2. Mandhani B, Suciu D. Query caching and view selection for XML databases. In Proc. VLDB 2005, Trondheim, Norway, August 30-September 2, 2005, pp.469–480.

  3. Feng J H, Li G L, Ta N. A semantic cache framework for secure XML queries. J. Comput. Sci. & Technol., 2008, 23(6): 988–997.

    Article  Google Scholar 

  4. Luo Q, Krishnamurthy S, Mohan C, Pirahesh H, Woo H, Lindsay B G, Naughton J F. Middle-tier database caching for e-business. In Proc. ACM SIGMOD Int. Conf. Management of Data, Madison, USA, June 3–6, 2002, pp.600–611.

  5. Re C, Brinkley J, Hinshaw K, Suciu D. Distributed XQuery. In Proc. Information Integration on the Web (IIWeb), VLDB Workshop, Toronto, Canada, Aug. 30, 2004, pp.116–121,

  6. Chandra A K, Merlin P M. Optimal implementation of conjunctive queries in relational data bases. In Proc. STOC, May 2–4, 1977, Boulder, Colorado, USA, pp.77–90.

  7. Miklau G, Suciu D. Containment and equivalence for a fragment of XPath. J. ACM, 2004, 51(1): 2–45.

    Article  MathSciNet  Google Scholar 

  8. Milo T, Suciu D. Index structures for path expressions. In Proc. ICDT, Jerusalem, Israel, January 10–12, 1999, pp.277–295.

  9. Wu X, Lee M L, Hsu W. A prime number labeling scheme for dynamic ordered XML trees. In Proc. ICDE, Boston, USA, March 30-April 2, 2004, pp.66–78.

  10. Miklau G, Suciu D. Containment and equivalence for an XPath fragment. In Proc. PODS, Madison, USA, June 3–5, 2002, pp.65–76.

  11. Li G, Feng J, Zhang Y, Zhou L. Efficient holistic twig joins in leaf-to-root combining with root-to-leaf way. In Proc. DASFAA, Bangkok, Thailand, April 9–12, 2007, pp.834–849.

  12. Bruno N, Koudas N, Srivastava D. Holistic twig joins: Optimal XML pattern matching. In Proc. ACM SIGMOD Int. Conf. Management of Data, Madison, Wisconsin, June 3–6, 2002, pp.310–321.

  13. Li G, Feng J, Wang J, Zhang Y, Zhou L. Incremental mining of frequent query patterns from XML queries for caching. In Proc. ICDM, December 18–22, 2006, Hong Kong, China, pp.350–361.

  14. http://dblp.uni-trier.de/xml/.

  15. http://www.cs.washington.edu/research/.

  16. http://www.xml-benchmark.org/.

  17. Al-Khalifa S, Jagadish H V, Patel J M, Wu Y, Koudas N, Srivastava D. Structural joins: A primitive for efficient XML query pattern matching. In Proc. ICDE 2002, February 26-March 1, 2002, San Jose, USA, pp.141–152.

  18. Chen T, Lu J, Ling T W. On boosting holism in XML twig pattern matching using structural indexing techniques. In Proc. ACM SIGMOD Int. Conf. Management of Data, Baltimore, USA, June 14–16, 2005, pp.455–466.

  19. Lu J, Ling T W, Chan C Y, Chen T. From region encoding to extended dewey: On efficient processing of XML twig pattern matching. In Proc. VLDB, Trondheim, Norway, August 30-September 2, 2005, pp.193–204.

  20. Yang L H, Lee M L, Hsu W. Efficient mining of XML query patterns for caching. In Proc. VLDB, Berlin, Germany, September 9–12, 2003, pp.69–80.

  21. Balmin A, Özcan F, Beyer K S, Cochrane R, Pirahesh H. A framework for using materialized XPath views in XML query processing. In Proc. VLDB 2004, Toronto, Canada, August 31-September 3, 2004, pp.60–71.

  22. Li G, Feng J, Ta N, Zhang Y, Zhou L. SCEND: An efficient semantic cache to adequately explore answerability of views. In Proc. WISE 2006, Wuhan, China, October 23–26, 2006, pp.460–473.

  23. Feng J, Ta N, Zhang Y, Li G. Exploit sequencing views in semantic cache to accelerate XPath query evaluation. In Proc. WWW 2007, Banff, Canada, May 8–12, 2007, pp.1337–1338.

  24. Chen L, Rundensteiner E A, Wang S. XCache: A semantic caching system for XML queries. In Proc. ACM SIGMOD Int. Conf. Management of Data, Madison, USA, June 3–6, 2002, p.618.

  25. Hristidis V, Petropoulos M. Semantic caching of XML databases. In Proc. ACM SIGMOD Int. Conf. Management of Data, Madison, USA, June 3–6, 2002, pp.25–30.

  26. Xu W. The framework of an XML semantic aching system. In Proc. ACM SIGMOD Int. Conf. Management of Data, Baltimore, USA, June 13–16, 2005, pp.127–132.

  27. Yagoub K, Florescu D, Issarny V, Valduriez P. Caching strategies for data-intensive Web sites. In Proc. VLDB 2000, September 10–14, 2000, Cairo, Egypt, pp.188–199.

  28. Chen L, Rundensteiner E A. XCache: XQuery-based Caching System. In Proc. Int. Workshop on the Web and Databases, Madison, Wisconsin, June 3–6, 2002, pp.31–36.

  29. Yang L H, Li M L, Hsu W, Acharya S. Mining frequent quer patterns from XML queries. In Proc. DASFAA 2003, March 26–28, Kyoto, Japan, 2003, pp.355–362.

  30. Chen Y, Yang L H, Wang Y G. Incremental mining of frequent XML query pattern. In Proc. ICDM 2004, November 1–4, 2004, Brighton, UK, pp.343–346.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Guo-Liang Li.

Additional information

This work is partly supported by the National Natural Science Foundation of China under Grant No. 60873065, the National High Technology Research and Development 863 Program of China under Grant Nos. 2007AA01Z152 and 2009AA011906, and the National Basic Research 973 Program of China under Grant No. 2006CB303103.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Li, GL., Feng, JH. An Effective Semantic Cache for Exploiting XPath Query/View Answerability. J. Comput. Sci. Technol. 25, 347–361 (2010). https://doi.org/10.1007/s11390-010-9328-y

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11390-010-9328-y

Keywords

Navigation