DOI QR코드

DOI QR Code

X2RD: XPath를 이용한 XML 데이터의 관계형 데이터베이스로의 저장과 질의

X2RD: Storing and Querying XML Data Using XPath To Relational Database

  • 오상윤 (아주대학교 정보및컴퓨터공학부)
  • 발행 : 2009.03.31

초록

XML은 웹 환경 정보의 표준으로 자리 잡고 있으며, 웹 서비스, 시멘틱 웹 등의 출현으로 XML을 이용한 정보교환은 더욱 확산될 것으로 예상되고 있다. 대부분의 데이터들은 관계형 데이터베이스에 저장되어 있으므로 XML 데이터의 저장과 질의에 관계형 데이터베이스를 이용하려는 연구가 최근 주목을 받고 있으며, 특별히 XPath, XQauery들과 같은 XML 관련규약들을 지원하는 방식에 대한 시도가 이루어져 왔다. 본 논문에서는 기존에 제안된 XML을 관계형 데이터베이스에 저장하고 질의를 수행하는 구조들의 특성들을 분석하고, 관계형 데이터베이스를 이용한 새로운 XML 저장 및 질의 방식을 제안한다. 제안된 방식은 XML 데이터를 분할 (Shred) 하여 관계로 표현하며, XQuery의 기본이 되는 XPath를 이용한 Query를 SQL로 변환하여 적용하는 구조를 가진다. 본 제안 방법론을 이용하여 Query Processor를 구현하고 실제 RDBMS를 연동하고 실험한 결과, XML 데이터를 효과적으로 RDBMS에 효과적으로 저장하고 질의할 수 있는 것을 확인할 수 있었다.

XML has become a do facto standard for structured document and data on the Web. An XML data deluge over the network will be more, since XML based standards such as Web Service and Semantic Web gets popular. There are efforts to store and query XML documents in a relational database system and recent efforts focus on how to provide such operations using XPath and XQuery. In this paper, we present study about those research efforts and we propose a new scheme to stoγe and query XML documents in a relational database using XPath query. The scheme uses a 'shred' method to store and translates XPath queries to SQL. We also present our empirical experiments using a RDBMS.

키워드

참고문헌

  1. 박종현, 강지훈, "디지털 방송을 위한 Set-Top Box 기반 TV-Anytime 메타데이터 관리." 한국컴퓨터정보학회논문지, 제13권 제4호, 2008년 7월
  2. 안후영, 박영호, "관계형 데이터베이스 기반 온톨로지 기법을 활용한 모바일 패션 정보 제안," 한국컴퓨터정보학회논문지, 제12권, 제6호, 2007년 12월
  3. The Apache XML Project, Apache Xindice, http://xml.apache.org/xindice/
  4. The Ozone Database Project, ozone, http://www.ozone-db.org/frames/home/what.html
  5. The World Wide Web Consortium (W3C), "XML Path Language (XPath) version 1.0," W3C Recommendation, Nov. 1999.
  6. D. Florescu and D. Kossmann, "Storing and Querying XML Data using an RDBMS," IEEE Data Engineering Bulletin, Vol. 22, No. 1, pp. 27-34, Mar. 1999.
  7. A. Deutsch, M. Fernandez, and D. Suciu, "Storing semistructured data with STORED," ACM SIGMOD International Conference on Management of Data, pp. 431-442, Philadelphia, Pennsylvania, USA, June 1999.
  8. I. Tatarinov et al., "Storing and Querying Ordered XML Using a Relational Database System," ACM SIGMOD International Conference on Management of Data, Madison, pp. 204-215, Wisconsin, USA, June 2002.
  9. M Rys, "XML and relational database management system: inside $Microsoft^{\circled R}$ SQL ServerTM 2005," ACM SIGMOD International Conference on Management of Data, pp. 958-962, Baltimore, Maryland, USA, June 2005.
  10. Oracle Corporation, ORACLE 8i Database, http://tahiti.oracle.com/pls/tahiti/tahiti.homepage.
  11. Oracle Corporation, ORACLE Database 11g, http://www.oracle.com/technology/products/database/oraclellg/index.html.
  12. SQLX Group, SQLX, http://sqlx.org/
  13. XML Query Working Group of The W3C, "XQuery 1.0: An XML Query Language," W3C Recommendation, Jan. 2007.
  14. PostgreSQL Global Development Group, PostgreSQL, http://www.postgresql.org
  15. 안동찬, 변찬우, "안전한 XML 접근제어에서 효율적인 질의 재작성 기법." 한국컴퓨터정보학회논문지 제11권 제5호, 2006년 11월.