skip to main content
10.1145/1900008.1900050acmconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
research-article

Optimizing XML-to-SQL query translation for analytical databases using intelligent path derivation

Published:15 April 2010Publication History

ABSTRACT

We introduce the idea of an XML-to-SQL translation scheme applicable to relatively stable databases in this paper. This approach utilizes a subordinate data structure which we call a Path Prefix Tree (PPT). The PPT is updated for each instance of the XML document, and then used to build efficient SQL queries that are nearly optimal in terms of efficiency. The mapping of XML path expressions into SQL queries is shown to operate in O(n) time. Moreover, our proposed XML-to-SQL translation scheme efficiently maps the recursive path queries to SQL queries in the presence of recursive schemas using the PPT.

References

  1. M. Atay, A. Chebotko, D. Liu, S. Lu, and F. Fotouhi. XML-to-SQL query mapping in the presence of multi-valued schema mappings and recursive XML schemas. In 18th International Conference on Database and Expert Systems Applications, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Atay and S. Lu. Storing and Querying XML: An Efficient Approach Using Relational Databases. VDM Verlag Dr. Müller Press, Germany, January 2009.Google ScholarGoogle Scholar
  3. F. Chahuneau. SGML and databases: Implementation techniques, access methods and performance issues. In International Markup Conference, pages 168--177, Amsterdam, The Netherlands, May 1992.Google ScholarGoogle Scholar
  4. J. Cheng and J. Xu. DB2 extender for XML. IBM, 2000. http://www-4.ibm.com/software/data/db2/extenders/xmlext/.Google ScholarGoogle Scholar
  5. W. Fan, J. X. Yu, J. Li, B. Ding, and L. Qin. Query translation from xpath to sql in the presence of recursive DTDs. VLDB J., 18(4):857--883, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. W. Fan, J. X. Yu, H. Lu, J. Lu, and R. Rastogi. Query translation from XPath to SQL in the presence of recursive DTDs. In Proc. of the 31sh VLDB Conference, Trondheim, Norway, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Florescu and D. Kossmann. Storing and querying XML data using an RDBMS. IEEE Data Engineering Bulletin, 22(3):27--34, 1999.Google ScholarGoogle Scholar
  8. A. L. Hors, P. L. Hégaret, L. Wood, G. Nicol, J. Robie, M. Champion, and S. Byrne. Document Object Model Level 3 Core Specification. WWW Consortium, April 2004. http://www.w3.org/TR/DOM-Level-3-Core/.Google ScholarGoogle Scholar
  9. R. Krishnamurthy, V. T. Chakaravarthy, R. Kaushik, and J. F. Naughton. Recursive XML schemas, recursive XML queries, and relational storage: XML-to-SQL query translation. In Proc. of the 20th International Conference on Data Engineering, pages 42--53, Boston, Massachusetts, USA, March 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Krishnamurthy, R. Kaushik, and J. F. Naughton. XML-to-SQL query translation literature: The state of the art and open problems. In XML Database Symposium, 2003.Google ScholarGoogle ScholarCross RefCross Ref
  11. Microsoft. SQLXML and XML Mapping Technologies, 2004. http://msdn.microsoft.com/sqlxml/default.asp.Google ScholarGoogle Scholar
  12. Oracle. XML Database Developer's guide - Oracle XML DB Release 2, 2002. http://otn.oracle.com/tech/xml/xmldb/content.html.Google ScholarGoogle Scholar
  13. K. Runapongsa and J. M. Patel. Storing and querying XML data in object-relational dbmss. In EDBT Workshops, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. Shanmugasundaram, K. Tufte, C. Zhang, G. He, D. J. DeWitt, and J. F. Naughton. Relational databases for querying XML documents: Limitations and opport unities. In VLDB, pages 302--314, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. M. Yoshikawa, T. Amagasa, T. Shimura, and S. Uemura. XRel: A path-based approach to storage and retrieval of XML documents using relational databases. ACM Transactions on Internet Technology (TOIT), 1(1):110--141, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. Optimizing XML-to-SQL query translation for analytical databases using intelligent path derivation

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ACM SE '10: Proceedings of the 48th Annual Southeast Regional Conference
          April 2010
          488 pages
          ISBN:9781450300643
          DOI:10.1145/1900008

          Copyright © 2010 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 15 April 2010

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          ACM SE '10 Paper Acceptance Rate48of94submissions,51%Overall Acceptance Rate134of240submissions,56%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader