Skip to main content

XQzip: Querying Compressed XML Using Structural Indexing

  • Conference paper
Advances in Database Technology - EDBT 2004 (EDBT 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2992))

Included in the following conference series:

Abstract

XML makes data flexible in representation and easily portable on the Web but it also substantially inflates data size as a consequence of using tags to describe data. Although many effective XML compressors, such as XMill, have been recently proposed to solve this data inflation problem, they do not address the problem of running queries on compressed XML data. More recently, some compressors have been proposed to query compressed XML data. However, the compression ratio of these compressors is usually worse than that of XMill and that of the generic compressor gzip, while their query performance and the expressive power of the query language they support are inadequate.

In this paper, we propose XQzip, an XML compressor which supports querying compressed XML data by imposing an indexing structure, which we call Structure Index Tree (SIT), on XML data. XQzip addresses both the compression and query performance problems of existing XML compressors. We evaluate XQzip’s performance extensively on a wide spectrum of benchmark XML data sources. On average, XQzip is able to achieve a compression ratio 16.7% better and a querying time 12.84 times less than another known queriable XML compressor. In addition, XQzip supports a wide scope of XPath queries such as multiple, deeply nested predicates and aggregation.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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.

Similar content being viewed by others

References

  1. Abiteboul, S., Buneman, P., Suciu, D.: Data on the web: from relations to semistructured data and XML. Morgan Kaufmann, San Francisco (c2000)

    Google Scholar 

  2. Arion, A., et al.: XQueC: Pushing Queries to Compressed XML Data. In (Demo) Proceedings of VLDB (2003)

    Google Scholar 

  3. Buneman, P., Grohe, M., Koch, C.: Path Queries on Compressed XML. In: Proceedings of VLDB (2003)

    Google Scholar 

  4. Cheng, J., Ng, W.: XQzip (long version), http://www.cs.ust.hk/~csjames/

  5. Goldman, R., Widom, J.: Dataguides: Enabling Query Formulation and Opeimization in Semistructured Databases. In: Proceedings of VLDB (1997)

    Google Scholar 

  6. Gottlob, G., Koch, C., Pichler, R.: Efficient Algorithms for Processsing XPath Queries. In: Proceedings of VLDB (2002)

    Google Scholar 

  7. Kaushik, R., Bohannon, P., Naughton, J.F., Korth, H.F.: Covering Indexes for Branching Path Queries. In: Proceedings of SIGMOD (2002)

    Google Scholar 

  8. Liefke, H., Suciu, D.: XMill: An Efficient Compressor for XML Data. In: Proceedings of SIGMOD (2000)

    Google Scholar 

  9. 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)

    Chapter  Google Scholar 

  10. Min, J.K., Park, M.J., Chung, C.W.: XPRESS: A Queriable Compression for XML Data. In: Proceedings of SIGMOD (2003)

    Google Scholar 

  11. Paige, R., Tarjan, R.E.: Three partition refinement algorithms. SIAM Journal on Computing 16(6), 973–989 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  12. Park, D.: Concurrency and automata on infinite sequences. In: Deussen, P. (ed.) GI-TCS 1981. LNCS, vol. 104, pp. 176–183. Springer, Heidelberg (1981)

    Chapter  Google Scholar 

  13. Schmidt, A.R., Waas, F., Kersten, M.L., Carey, M.J., Manolescu, I., Busse, R.: XMark: A Benchmark for XML Data Management. In: Proceedings of VLDB (2002)

    Google Scholar 

  14. Tolani, P.M., Haritsa, J.R.: XGRIND: A Query-friendly XML Compressor. In: Proceedings of ICDE (2002)

    Google Scholar 

  15. World Wide Web Consortium. XML Path Language (XPath) Version 1.0, http://www.w3.org/TR/xpath/ (W3C Recommendation November 16, 1999)

  16. World Wide Web Consortium. XQuery 1.0: An XML Query Language, http://www.w3.org/TR/xquery/ (W3C Working Draft August 22, 2003)

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cheng, J., Ng, W. (2004). XQzip: Querying Compressed XML Using Structural Indexing. In: Bertino, E., et al. Advances in Database Technology - EDBT 2004. EDBT 2004. Lecture Notes in Computer Science, vol 2992. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24741-8_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24741-8_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21200-3

  • Online ISBN: 978-3-540-24741-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics