電子商務研究 Electronic Commerce Studies, Vol 6, No 1 (2008)

運用群組化節點建構多版本XML文件管理之研究

介山 葉, 弘祥 林

Abstract


近年來XML已成為網際網路上重要的資料交換標準,由於XML使用標籤與元素來描述資料,使XML文件可進行資料轉換成所需的資料文件,再加以處理。過去企業間資料交換必須先定義好彼此的資料格式才能進行資料交換,如今使用XML文件後,更可輕易地進行電子商務上的應用。

XML文件儲存於關聯式資料庫的技術與文章很多,但能涉及多版本管理機制的研究報告相形之下就顯的很少,如能於儲存技術與多版本管理機制上加以改善,除了增進XML文件使用者的便利外,亦能擴展XML相關產業與學術上的研究與應用。本研究為改善XML文件查詢與儲存效能,由減少節點搜尋的數量來達成。利用原始的節點群組化方法來減少節點數,本研究除了改良其索引方法,並導入多版本管理機制,將資料以表格形式儲存於關聯式資料庫中,期待能讓使用者能夠同時享受群組化節點之多版本XML文件管理帶來的優點與得到關聯式資料庫快速查詢資料的便利性。
-
With the rising development of electronic commerce, XML has been the popular standard of data exchange between enterprises. Using a DBMS to easily query and store XML data has been well studied in recent years, but involve in Version Management issue is much fewer.

In this paper, we improve a method that groups XML nodes into relational table and apply to Multi-Version XML file management. Because the nodes that must be process are much reduced, retrieving XML data could be more efficiently. By just store the records that are different between two consecutive version files, the space needed for the Multi-Version file storage is reduced significantly.