Efficient Query Processing for Streamed XML Fragments

  • Huan Huo
  • Guoren Wang
  • Xiaoyun Hui
  • Rui Zhou
  • Bo Ning
  • Chuan Xiao
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3882)


Unlike in traditional databases, queries on XML streams are bounded not only by memory but also by real time processing. Recently proposed Hole-Filler model is promising for information transmission and publication, by slicing XML data into low consuming, easy synchronized fragments. However, XPath queries evaluate the elements in streamed XML data, not the XML fragments, and operation dependence caused by fragments decelerates processing efficiency. By taking advantage of schema information for XML, this paper proposes a model of tid tree to optimize queries over XML fragments by removing “redundant” operations. It then proposes XFPro for processing XPath queries on XML fragments to achieve processing and memory efficiency. Our performance study shows that XFPro performs well both on execution time and memory metrics.


Query Processing Pattern Query Query Plan Query Node Path Expression 
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.
    W3C Recommendation: Extensible Markup Language (XML) 1.0, 2nd edn. (2000),
  2. 2.
    W3C Working Draft: XML Path Languages (XPath), ver 2.0 (2001) Tech. Report WD-xpath20-20011220, W3C (2001),
  3. 3.
    W3C working draft: XQuery 1.0: An XML Query Language, Technical Report WD-xquery-20010607, World Wide Web Consortium (2001)Google Scholar
  4. 4.
    Bose, S., Fegaras, L.: XFrag: A query processing framework for fragmented XML data. In: Eighth International Workshop on the Web and Databases (WebDB 2005), Baltimore, Maryland, June 16–17 (2005)Google Scholar
  5. 5.
    Bose, S., Fegaras, L., Levine, D., Chaluvadi, V.: A query algebra for fragmented XML stream data. In: Lausen, G., Suciu, D. (eds.) DBPL 2003. LNCS, vol. 2921, Springer, Heidelberg (2004)CrossRefGoogle Scholar
  6. 6.
    Fegaras, L., Levine, D., Bose, S., Chaluvadi, V.: Query processing of streamed XML data. In: Eleventh International Conference on Information and Knowledge Management (CIKM 2002), McLean, Virginia, USA, November 4–9 (2002)Google Scholar
  7. 7.
    Chen, J., DeWitt, D.J., Tian, F., Wang, Y.: NiagaraCQ: A scalable continuous query system for internet databases. In: Chen, W., Naughton, J.F., Bernstein, P.A. (eds.) SIGMOD Conference, pp. 379–390. ACM, Dallas, Texas, USA (2000)Google Scholar
  8. 8.
    Florescu, D., Hillery, C., Kossmann, D., Lucas, P., Riccardi, F., Westmann, T., Carey, M.J., Sundararajan, A.: The BEA/XQRL streaming xquery processor. In: Freytag, J.C., Lockemann, P.C., Abiteboul, S., Carey, M.J., Selinger, P.G., Heuer, A. (eds.) Proceedings of the 29th International Conference on Very Large Data Bases, Berlin, Germany (2003)Google Scholar
  9. 9.
    Koch, C., Scherzinger, S., Schweikardt, N., Stegmaier, B.: FluXQuery: An optimizing xquery processor for streaming XML data. In: [16], pp. 1309–1312Google Scholar
  10. 10.
    Ludäscher, B., Mukhopadhyay, P., Papakonstantinou, Y.: A transducer-based XML query processor. In: Bernstein, P.A., Ioannidis, Y.E., Ramakrishnan, R., Papadias, D. (eds.) Proceedings of the 28th International Conference on Very Large Data Bases, Hong Kong SAR, China, pp. 227–238 (2002)Google Scholar
  11. 11.
    Ludäscher, B., Papakonstantinou, Y., Velikhov, P.: Navigation-driven evaluation of virtual mediated views. In: Zaniolo, C., Grust, T., Scholl, M.H., Lockemann, P.C. (eds.) EDBT 2000. LNCS, vol. 1777, Springer, Heidelberg (2000)Google Scholar
  12. 12.
    Wang, E., et al.: Efficient management of XML contents over wireless environment by Xstream. In: ACM-SAC 2004, March 2004, pp. 1122–1127 (2004)Google Scholar
  13. 13.
    Abiteboul, S., Benjelloun, O., Cautis, B., Manolescu, I., Milo, T., Preda, N.: Lazy evaluation for active XML. In: Weikum, G., König, A.C., Deßloch, S. (eds.) SIGMOD Conference, pp. 227–238. ACM, Paris, France (2004)Google Scholar
  14. 14.
    Huo, H., Hui, X., Wang, G.: Document fragmentation for XML streams based on hole-filler model. In: 2005 China National Computer Conference, Wu Han, China, October 13–15 (2005)Google Scholar
  15. 15.
    Bar-Yossef, Z., Fontoura, M., Josifovski, V.: On the memory requirements of xpath evaluation over XML streams [16]Google Scholar
  16. 16.
    Nascimento, M.A., Özsu, M.T., Kossmann, D., Miller, R.J., Blakeley, J.A., Schiefer, K.B. (eds.) (e)Proceedings of the Thirtieth International Conference on Very Large Data Bases. Morgan Kaufmann, Toronto, Canada (2004)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Huan Huo
    • 1
  • Guoren Wang
    • 1
  • Xiaoyun Hui
    • 1
  • Rui Zhou
    • 1
  • Bo Ning
    • 1
  • Chuan Xiao
    • 1
  1. 1.Institute of Computer SystemNortheastern UniversityShenyangChina

Personalised recommendations