An Effective Semantic Cache for Exploiting XPath Query/View Answerability

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.

[1]  Elke A. Rundensteiner,et al.  XCache: XQuery-based Caching System , 2002, WebDB.

[2]  Mong-Li Lee,et al.  A Prime Number Labeling Scheme for Dynamic Ordered XML Trees , 2004, ICDE.

[3]  Valérie Issarny,et al.  Caching Strategies for Data-Intensive Web Sites , 2000, VLDB.

[4]  Divesh Srivastava,et al.  Holistic twig joins: optimal XML pattern matching , 2002, SIGMOD '02.

[5]  Jignesh M. Patel,et al.  Structural joins: a primitive for efficient XML query pattern matching , 2002, Proceedings 18th International Conference on Data Engineering.

[6]  J. K. Wong Middle-Tier Database Caching for e-Business , 2002 .

[7]  Vagelis Hristidis,et al.  Semantic Caching of XML Databases , 2002, WebDB.

[8]  Wanhong Xu,et al.  The Framework of an XML Semantic Caching System , 2005, WebDB.

[9]  Dan Suciu,et al.  Query Caching and View Selection for XML Databases , 2005, VLDB.

[10]  Mong-Li Lee,et al.  Efficient Mining of XML Query Patterns for Caching , 2003, VLDB.

[11]  Dan Suciu,et al.  Index Structures for Path Expressions , 1999, ICDT.

[12]  Dan Suciu,et al.  Containment and equivalence for a fragment of XPath , 2004, JACM.

[13]  Yong Zhang,et al.  Exploit sequencing views in semantic cache to accelerate xpath query evaluation , 2007, WWW '07.

[14]  Tok Wang Ling,et al.  From Region Encoding To Extended Dewey: On Efficient Processing of XML Twig Pattern Matching , 2005, VLDB.

[15]  Ashok K. Chandra,et al.  Optimal implementation of conjunctive queries in relational data bases , 1977, STOC '77.

[16]  Yong Zhang,et al.  Efficient Holistic Twig Joins in Leaf-to-Root Combining with Root-to-Leaf Way , 2007, DASFAA.

[17]  Tok Wang Ling,et al.  On boosting holism in XML twig pattern matching using structural indexing techniques , 2005, SIGMOD '05.

[18]  Yi Chen,et al.  Incremental mining of frequent XML query patterns , 2004, Fourth IEEE International Conference on Data Mining (ICDM'04).

[19]  Yong Zhang,et al.  Incremental Mining of Frequent Query Patterns from XML Queries for Caching , 2006, Sixth International Conference on Data Mining (ICDM'06).

[20]  Mong-Li Lee,et al.  Mining frequent query patterns from XML queries , 2003, Eighth International Conference on Database Systems for Advanced Applications, 2003. (DASFAA 2003). Proceedings..

[21]  Divesh Srivastava,et al.  Semantic Data Caching and Replacement , 1996, VLDB.

[22]  Dan Suciu,et al.  Containment and equivalence for an XPath fragment , 2002, PODS.

[23]  Hamid Pirahesh,et al.  A Framework for Using Materialized XPath Views in XML Query Processing , 2004, VLDB.

[24]  Kevin P. Hinshaw,et al.  Distributed XQuery , 2004 .

[25]  Guoliang Li,et al.  A Semantic Cache Framework for Secure XML Queries , 2008, Journal of Computer Science and Technology.

[26]  Elke A. Rundensteiner,et al.  XCache: a semantic caching system for XML queries , 2002, SIGMOD '02.

[27]  Yong Zhang,et al.  SCEND: An Efficient Semantic Cache to Adequately Explore Answerability of Views , 2006, WISE.