Skip to main content

A Middleware Approach to Storing and Querying XML Documents in Relational Databases

  • Conference paper

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

Abstract

In this paper we present a middleware for storing and retrieving XML documents in relational databases. To store XML documents in RDBMS, several mapping approaches can be used. We chose structure independent approach. This approach stores XML documents in fixed-schema tables and does not require a direct extension of SQL. So the middleware can be used with any RDBMS with minor changes in the interface. The middleware offers two alternative methods -namely XRel and Edge- for storing XML in the database. The Edge method is a straightforward method, while XRel utilizes path summary information for faster query processing. We present a comparative experimental study on the performance of insertion and retrieval of two types of XML documents along with a set of XPath queries executed though the XPath query processor which is a part of the middleware.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bourret, R.P.: Middleware for Transfering Data Between XML Documents and Relational Databases (2001), http://www.rpbourret.com/xmldbms/index.htm

  2. Bosak, J.: The Plays of Shakespeare (1999), http://www.ibiblio.org/bosak/

  3. Bray, T., Paoli, J., Sperberg-McQueen, C.M., Maler, E.: Extensible Markup Language (XML) 1.0, 2nd edn. W3C Recommendation (2000), http://www.w3.org/lTR2OOOlRECxml-20001006l

  4. Cheng, J., Xu, J.: IBM DB2 XML Extender-An End to End Solution for Storing and Retrieving XML Documents, IBM Corporation white paper (2000), http://www-306.ibm.com/software/data/db2/extenders/xmlext/xmllextbroch.pdf

  5. Clark, J., DeRose, S.: XML Path Language (XPath) Version 1.0, W3C Recommendation (November 16, 1999), http://www.w3.org/TRl999/REC-xpatb-19991116

  6. Dayen, I.: Storing XML in Relational Databases (2001), http://www.xml.com/pub/a/2001/06/20/databases.html

  7. Deutsch, A., Fernandez, M., Suciu, D.: Storing Semistructured Data with STORED. In: Proc. of ACM SIGMOD, Philadelphia, PN (1999)

    Google Scholar 

  8. Drake, M.: Oracle XML DB White Paper (2004), http://otn.oracle.com/tech/xml/xmldb/Current/TWP.pdf

  9. Florescu, D., Kossmann, D.: Storing and quering xml data using an RDBMS. IEEE Data Engineering Bulletin 22(3), 27–34 (1999)

    Google Scholar 

  10. Goldfarb, C.F., Prescod, P.: XML Handbook, 4th edn. Prentice Hall, Englewood Cliffs (2001)

    Google Scholar 

  11. Jiang, H., Lu, H.: Path Materialization Revisited: An Efficient Storage Model for XML Data. In: 2nd Australian Institute of Computer Ethics Conference, Canberra (2001)

    Google Scholar 

  12. Kentel, E.: A Performance Study on XPath Queries in Commercial Databases. Senior Project, Dept. of Computer Eng. Fatih University, Istanbul Turkey (2003)

    Google Scholar 

  13. Kurt, A., Atay, M.: An Experimental Study on Query Processing Efficiency of Native-XML and XML-Enabled Database Systems. In: Bhalla, S. (ed.) DNIS 2002. LNCS, vol. 2544, pp. 268–284. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  14. Mercan, M.: An Implementation of an XPath Query Processor for XRel and Edge Methods, MS Thesis, Fatih University, Istanbul Turkey (2004)

    Google Scholar 

  15. OPENXML: Retrieving and Writing XML Data (2004), http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsql/ac_openxml_759d.asp

  16. Schmit, A., Kersten, M.L., Windhouwer, M., Wass, F.: Efficient Relational Storage and Retrieval of XML documents. In: Suciu, D., Vossen, G. (eds.) WebDB 2000. LNCS, vol. 1997, pp. 47–52. Springer, Heidelberg (2001)

    Google Scholar 

  17. Shanmugasundaram, J., Tatarinov, I., Shekita, E., Kiernan, J., Viglas, E., Naughton, J.: A General Technique for Querying XML Documents using a Relational Database System. In: SIGMOD (2001)

    Google Scholar 

  18. Shanmugasundaram, J., Zhang, C., Tufte, K., He, G., DeWitt, D., Naughton, J.: Relational Databases for Querying XML Documents: Limitations and Opportunities. In: Proceeding of the 25th VLDB Conference, Edinburgh, Scotland (1999)

    Google Scholar 

  19. Su, A.Z.: An Implementation of Storage and Retrieval Methods for XML Documents in Relational RDBMSs, MS Thesis, Fatih University, Istanbul Turkey (2003)

    Google Scholar 

  20. Tatarinov, I., Iglas, S.: Storing and Quering Ordered XML Using a Relational Database System. In: ACM SIGMOD, Wisconsin, USA (2002)

    Google Scholar 

  21. Yao, B.B., Özsu, M.T., Keenleyside, J.: XBench – A Family of Benchmarks for XML DBMSs. In: Bressan, S., Chaudhri, A.B., Lee, M.L., Yu, J., Lacroix, Z. (eds.) CAiSE 2002 and VLDB 2002. LNCS, vol. 2590, pp. 162–164. Springer, Heidelberg (2002)

    Google Scholar 

  22. YoshiKawa, M., Amagasa, T.: XRel: A Path -based approach to storage and retrieval of XML documents using relational databases, ACM Trans. on Internet Technology (2001)

    Google Scholar 

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

Şevkli, Z., Mercan, M., Kurt, A. (2004). A Middleware Approach to Storing and Querying XML Documents in Relational Databases. In: Yakhno, T. (eds) Advances in Information Systems. ADVIS 2004. Lecture Notes in Computer Science, vol 3261. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30198-1_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30198-1_23

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23478-4

  • Online ISBN: 978-3-540-30198-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics