SCEND: An Efficient Semantic Cache to Adequately Explore Answerability of Views

  • Guoliang Li
  • Jianhua Feng
  • Na Ta
  • Yong Zhang
  • Lizhu Zhou
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4255)


Maintaining a semantic cache of materialized XPath views inside or outside the database, is a novel, feasible and efficient approach to accelerate XML query processing. However, the main problems of existing approaches are that, they either can not exploit sufficient potential cached views to answer an issued query or need too much time for cache lookup. In this paper, we propose, SCEND, an efficient Semantic Cache based on dEcompositioN and Divisibility, which adequately explores the answerability of views, and speeds up cache lookup dramatically. We decompose complex XPath queries into some much simpler and tractable ones to improve cache hit rate, moreover, we introduce a notion of the divisibility between two positive integers to accelerate cache lookup. In addition, we present a new replacement technique for SCEND to improve performance for caching. We experimentally demonstrate the efficiency of our caching techniques and performance gains obtained by employing such a cache.


Tree Pattern Conjunctive Query View Versus XPath Query View Selection 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Balmin, A., Ozcan, F., Beyer, K., Cochrane, R., Pirahesh, H.: A framework for using materialized xpath views in XML query processing. In: VLDB, pp. 60–71 (2004)Google Scholar
  2. 2.
    Bruno, N., Srivastava, D., Koudas, N.: Holistic twig joins: Optimal XML pattern matching. In: SIGMOD, pp. 310–321 (2002)Google Scholar
  3. 3.
    Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. McGraw-Hill, New York (1990)MATHGoogle Scholar
  4. 4.
    Chandra, A.K., Merlin, P.M.: Optimal implementation of conjunctive queries in relational data bases. In: STOC 1977, pp. 77–90 (1977)Google Scholar
  5. 5.
    Chen, L., Rundensteiner, E.A.: Ace-xq: A cache-aware xquery answering system. In: WebDB, pp. 31–36 (2002)Google Scholar
  6. 6.
    Dar, S., Franklin, M.J., Jonsson, B., Srivastava, D., et al.: Semantic data caching and replacement. In: VLDB, pp. 330–341 (1996)Google Scholar
  7. 7.
    Flesca, S., Furfaro, F., Masciari, E.: On the minimization of xpath queries. In: VLDB, pp. 153–164 (2003)Google Scholar
  8. 8.
    Jang, H.F., Lu, H.J., Wang, W., Xu Yu, J.: Holistic Twig Joins on Indexed XML Documents. In: VLDB 2003 (2003)Google Scholar
  9. 9.
    Luo, Q., Krishnamurthy, S., Mohan, C., et al.: Middle-tier database caching for e-business. In: SIGMOD (2002)Google Scholar
  10. 10.
    Milo, T., Suciu, D.: Index structures for path expressions. In: Beeri, C., Bruneman, P. (eds.) ICDT 1999. LNCS, vol. 1540, pp. 277–295. Springer, Heidelberg (1998)CrossRefGoogle Scholar
  11. 11.
    Miklau, G., Suciu, D.: Containment and equivalence for an xpath fragment. In: Proceedings of PODS, pp. 65–76 (2002)Google Scholar
  12. 12.
    Mandhani, B., Suciu, D.: Query Caching and View Selection for XML Databases. In: VLDB, pp. 469–480 (2005)Google Scholar
  13. 13.
    Pal, S., Cseri, I., Schaller, G., et al.: Indexing xml data stored in a relational database. In: VLDB, pp. 1134–1145 (2004)Google Scholar
  14. 14.
    Re, C., Brinkley, J., Hinshaw, K., Suciu, D.: Distributed xquery. In: IIWeb (2004)Google Scholar
  15. 15.
    Schmidt, A.R., Waas, F., Kersten, M.L., et al.: The XML Benchmark Project. Technical Report INS-R0103,CWI (2001)Google Scholar
  16. 16.
    Yagoub, K., Florescu, D., Issarny, V., Valduriez, P.: Caching strategies for data intensive web sites. The VLDB Journal, 188–199 (2000)Google Scholar
  17. 17.

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Guoliang Li
    • 1
  • Jianhua Feng
    • 1
  • Na Ta
    • 1
  • Yong Zhang
    • 1
  • Lizhu Zhou
    • 1
  1. 1.Department of Computer Science and TechnologyTsinghua UniversityBeijingChina

Personalised recommendations