DOI QR코드

DOI QR Code

ORDBMS를 사용한 XML 질의 캐쉬의 효율적인 지연 갱신

Efficient Deferred Incremental Refresh of XML Query Cache Using ORDBMS

  • 황대현 (중앙대학교 컴퓨터공학부) ;
  • 강현철 (중앙대학교 컴퓨터공학부)
  • 발행 : 2006.02.01

초록

XML 문서의 생성 및 활용도가 증가함으로 인해 XML 문서를 데이터베이스에 저장하여 관리하는 기법이 활발히 연구되고 있다. 관계형 또는 객체 관계형 데이터베이스 관리 시스템(RDBMS/ORDBMS)을 XML 문서의 저장소로 사용하는 것은 현재 가장 실용적인 방법으로 받아들여지고 있다. 데이터베이스에 저장된 XML 문서에 대한 빠른 질의 처리를 위하여 XML 질의 캐쉬를 사용할 수 있다. 그러나 XML 질의 캐쉬의 사용은 하부 자료의 변경에 대한 일관성 유지비용이 든다. 본 논문에서는, ORDBMS를 XML 질의 캐쉬와 하부 XML 자료의 저장소로 사용하고 변경로그를 사용하여 XML 질의 캐쉬를 지연 갱신할 때, XML 질의 캐쉬에 대한 비효율적인 갱신의 원인인 변경로그에 저장된 동일한 XML 문서에 대한 중복 변경을 제거 또는 여과하는 알고리즘을 제시한다. 또한 이를 바탕으로 XML 질의 캐쉬의 갱신에 사용할 최적화된 SQL 문을 생성한다. 실험을 통해 본 논문에서 제안한 XML 질의 캐쉬의 지연 갱신 방법의 효율성을 보인다.

As we are to deal with more and more XML documents, research on storing and managing XML documents in databases are actively conducted. Employing RDBMS or ORDBMS as a repository of XML documents is currently regarded as most practical. The query results out of XML documents stored in databases could be cached for query performance though the cost of cache consistency against the update of the underlying data is incurred. In this paper, we assume that an ORDBMS is used as a repository for the XML query cache as well as its underlying XML documents, and that XML query cache is refreshed in a deferred way with the update log. When the same XML document was updated multiple times, the deferred refresh of the XML query cache may Bet inefficient. We propose an algorithm that removes or filters such duplicate updates. Based on that, the optimal SQL statements that are to be executed for XML query cache consistency are generated. Through experiments, we show the efficiency of our proposed deferred refresh of XML query cache.

키워드

참고문헌

  1. J. Shanmugasundaram et al., 'Relational Databases for Querying XML Documents: Limitations and Opportunities,' Proc. Int'l Conf. on VLDB, 1999
  2. A. Deutsch, M. Fernandez, D. Suciu, 'Storing Semistructured Data with STORED,' Proc. ACM SIGMOD Int'l Conf. on Management of Data, pp.431-442, 1999 https://doi.org/10.1145/304182.304220
  3. M. Yoshikawa, T. Amagasa, T. Shimura, S. Uemura, 'XRel: A Path-Based Approach to Storage and Retrieval of XML Documents Using Relational Databases,' ACM Trans. on Internet Technology, Vol.1, No.1, pp.110-141, Aug., 2001 https://doi.org/10.1145/383034.383038
  4. Tamino : http://www2.softwareag.com/corporate/products/tamino/ default.asp
  5. X-Hive: http://www.x-hive.com
  6. Oracles XML SQL Utility, http://www.oracle.com/technology/tech/xml/index.html
  7. DB2 XML Extender, http://www-4.ibm.com/software/data/db2/extenders/xmlext/
  8. L. Xyleme, 'A dynamic warehouse for XML data of the Web,' IEEE Data Eng. Bulletin Vol.24, No.2, pp.40-47, 2001
  9. Xyleme, http://www.xyleme.com, 2005
  10. I. Mumick, D. Quass and B. Mumick, 'Maintenance of Data Cubes and Summary Tables in a Warehouse,' Proc. ACM SIGMOD Int'l Conf. on Management of Data, 1997 https://doi.org/10.1145/253260.253277
  11. 임재국 외, '점진적 갱신에 기반을 둔 XML 형성뷰 관리 프레임워크,' 정보처리학회논문지D, 제8-D권 제4호, pp.327-338, 2001
  12. J. Hammer, Hector Garcia-Molina, J. Widom, W.J. Labio, Y, Zhuge, 'The Stanford Data Warehousing Project.' IEEE Data Engineering Bulletin, June 1995
  13. A. Gupta and I. Mumick, 'Materialized Views : Techniques, Implementations, and Applications,' MIT Press, 1999
  14. Y. Zhuge, H. Garica-Molina. 'Graph Structured Views and Their Incremental Maintenance,' Proc. Int'l Conf. on Data Engineering, 1998 https://doi.org/10.1109/ICDE.1998.655767
  15. S. Abiteboul et al., 'Incremental Maintenance for Materialized Views over Semistructured Data,' Proc. Int'l Conf. on VLDB, pp.38-49 1998
  16. L. Chen and E. Rundensteiner, 'Aggregate Path Index for Incremental Web View Maintenance,' Proc. Int'l Workshop on Advanced Issues of E-Commerce and Web-based Information Systems, 2000 https://doi.org/10.1109/WECWIS.2000.853880
  17. L. Quan et al., 'Argos : Efficient Refresh in an XQL-Based Web Caching System,' Proc. Int'l Workshop onthe Web and Databases, pp.23-28, 2000
  18. 성호상 외, 'XML 실체뷰 갱신 기법의 성능 평가,' 정보처리학회논문지D, 제10-D권 제3호, pp.387-398, 2003 https://doi.org/10.3745/KIPSTD.2003.10D.3.387
  19. S. Abiteboul, 'On Views and XML,' Proc. ACM Symp. on Principle of Database System, pp.1-9, 1999 https://doi.org/10.1145/303976.303977
  20. L. Chen and E. Rundensteiner, 'ACE-XQ : A CachE-aware XQuery Answering System,' Proceedings of the 5th Int'l Workshop on the Web and Databases (WebDB), pp.31-36, 2002
  21. A. Halevy, 'Answering Queries Using Views : A Survey,' The VLDB Journal, Vol.10, No.4, pp.270-294, Dec., 2001 https://doi.org/10.1007/s007780100054
  22. SAX (Simple API for XML) http://sax.sourceforge.net/
  23. http://www.tcp.org