Journal of Computer Science and Technology

, Volume 25, Issue 2, pp 347–361 | Cite as

An Effective Semantic Cache for Exploiting XPath Query/View Answerability

  • Guo-Liang Li
  • Jian-Hua Feng
Regular Paper


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.


XML query processing semantic cache view selection cache lookup 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 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.Google Scholar
  2. 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.Google Scholar
  3. 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.CrossRefGoogle Scholar
  4. 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.Google Scholar
  5. 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,Google Scholar
  6. 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.Google Scholar
  7. 7.
    Miklau G, Suciu D. Containment and equivalence for a fragment of XPath. J. ACM, 2004, 51(1): 2–45.CrossRefMathSciNetGoogle Scholar
  8. 8.
    Milo T, Suciu D. Index structures for path expressions. In Proc. ICDT, Jerusalem, Israel, January 10–12, 1999, pp.277–295.Google Scholar
  9. 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.Google Scholar
  10. 10.
    Miklau G, Suciu D. Containment and equivalence for an XPath fragment. In Proc. PODS, Madison, USA, June 3–5, 2002, pp.65–76.Google Scholar
  11. 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.Google Scholar
  12. 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.Google Scholar
  13. 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.Google Scholar
  14. 14.
  15. 15.
  16. 16.
  17. 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.Google Scholar
  18. 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.Google Scholar
  19. 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.Google Scholar
  20. 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.Google Scholar
  21. 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.Google Scholar
  22. 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.Google Scholar
  23. 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.Google Scholar
  24. 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.Google Scholar
  25. 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.Google Scholar
  26. 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.Google Scholar
  27. 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.Google Scholar
  28. 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.Google Scholar
  29. 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.Google Scholar
  30. 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.Google Scholar

Copyright information

© Springer 2010

Authors and Affiliations

  1. 1.Department of Computer Science and Technology, Tsinghua National Laboratory for Information Science and TechnologyTsinghua UniversityBeijingChina

Personalised recommendations