Skip to main content

Stars on Steroids: Fast Evaluation of Multi-source Star Twig Queries in RDBMS

  • Conference paper
Database Systems for Advanced Applications (DASFAA 2012)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 7238))

Included in the following conference series:

  • 1591 Accesses

Abstract

Despite a large body of work on xml twig query processing in relational environment, systematic study of xml join evaluation has received little attention in the literature. In this paper, we propose a novel and non-traditional technique for fast evaluation of multi-source star twig queries in a path materialization-based rdbms. A multi-source star twig joins different xml documents on values in their nodes and the XQuery graph takes a star-shaped structure. Such queries are prevalent in several domains such as life sciences. Rather than following the conventional approach of generating one huge complex sql query from a twig query, we translate a star query into a list of sql sub-queries that only materializes minimal information of underlying xml subtrees as intermediate results. Experiments carried out confirm that our proposed approach build on top of an off-the-shelf commercial rdbms has excellent real-world performance.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W3C. XQuery 1.0 Grammar Test Page (2005), http://www.w3.org/2005/qt-applets/xqueryApplet.html

  2. Boncz, P., Grust, T., et al.: MonetDB/XQuery: A Fast XQuery Processor Powered by a Relational Engine. In: SIGMOD (2006)

    Google Scholar 

  3. Brantner, M., Kanne, C.-C., Moerkotte, G.: Let a Single FLWOR Bloom (to improve XQuery plan generation). In: XSym Workshop (2007)

    Google Scholar 

  4. Deutsch, A., Tannen, V.: MARS: A System for Publishing xml from Mixed and Redundant Storage. In: VLDB (2003)

    Google Scholar 

  5. Fernandez, M., Morishima, A., Suciu, D.: Efficient Evaluation of xml Middle-ware Queries. In: SIGMOD (2001)

    Google Scholar 

  6. Gou, G., Chirkova, R.: Efficiently Querying Large xml Data Repositories: A Survey. IEEE TKDE 19(10) (2007)

    Google Scholar 

  7. Grust, T., Rittinger, J., Teubner, J.: Why Off-the-Shelf RDBMSs are Better at XPath Than You Might Expect. In: SIGMOD (2007)

    Google Scholar 

  8. Grust, T., Sakr, S., Teubner, J.: XQuery on SQL Hosts. In: VLDB (2004)

    Google Scholar 

  9. Krishnamurthy, R., Kaushik, R., Naughton, J.F.: Efficient xml-to-sql Query Translation Literature: State of the Art and Open Problems. In: XSym (2003)

    Google Scholar 

  10. Leonardi, E., Bhowmick, S.S., Li, F.: Fast Evaluation of Multi-source Star Twig Queries in a Path Materialization-based xml Database. Technical Report (2010), http://www.cais.ntu.edu.sg/~assourav/TechReports/StarJoin-TR.pdf

  11. Manolescu, I., Florescu, D., Kossmann, D.: Answering xml Queries over Heterogeneous Data Sources. In: VLDB (2001)

    Google Scholar 

  12. O’Neal, P., O’Neal, E., Pal, S., et al.: ORDPATHs: Insert-Friendly xml Node Labels. In: SIGMOD (2004)

    Google Scholar 

  13. Pal, S., Cseri, I., Seeliger, O., et al.: XQuery Implementation in a Relational Database System. In: VLDB (2005)

    Google Scholar 

  14. Seah, B.-S., Widjanarko, K.G., Bhowmick, S.S., Choi, B., Leonardi, E.: Efficient Support for Ordered XPath Processing in Tree-Unaware Commercial Relational Databases. In: Kotagiri, R., Radha Krishna, P., Mohania, M., Nantajeewarawat, E. (eds.) DASFAA 2007. LNCS, vol. 4443, pp. 793–806. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  15. Shanmugasundaram, J., Tufte, K., et al.: Relational Databases for Querying xml Documents: Limitations and Opportunities. In: VLDB (1999)

    Google Scholar 

  16. Shanmugasundaram, J., Kiernan, J., et al.: Querying xml Views of Relational Data. In: VLDB (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Leonardi, E., Bhowmick, S.S., Li, F. (2012). Stars on Steroids: Fast Evaluation of Multi-source Star Twig Queries in RDBMS. In: Lee, Sg., Peng, Z., Zhou, X., Moon, YS., Unland, R., Yoo, J. (eds) Database Systems for Advanced Applications. DASFAA 2012. Lecture Notes in Computer Science, vol 7238. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-29038-1_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-29038-1_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-29037-4

  • Online ISBN: 978-3-642-29038-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics