この論文を読む/探す
抄録
データベースによるXML文書の管理には,ネイティブXMLデータベースを用いた方法とリレーショナルデータベースへのマッピングによる方法の2つがある.前者はXML文書をそのままの形でデータベース化し,後者はリレーショナルデータベースにXML文書をマツピングする.本稿は,ネイティブXMLデータベースとリレーショナルデータベースの両方で,55MB,111MB,222MBの3種類のXMarkデータベースを作り,簡単なXPathを実行した試みの報告である.リレーショナルデータベースシステムはPostgreSQL(バージョン8.2.1)を用いた.リレーショナルデータベースのマッピングでは前順後順法を用いるとともに,各ノードに5つの数値属性を持たせる.ネイティブXMLデータベースシステムBerkeley DB XML(バージョン2.3.8)による実験も行った.
There are two major methods for managing XML documents using databases. They are native XML database systems and relational database systems. The former manages XML documents as they are. In the later systems, the XML documents are mapped to a relational database. After the XML documents are mapped into relational data, XPath expressions are translated into SQL expressions. We performed some experimental tests to evaluate some XPath expressions on the above two. To map XML documents onto a relational database, we use two numbers. They are preorder and postorder. In addition to this, we used five numerical attributes for the nodes in XML documents. In this paper, we report the test results of the execution time and disk I/O cost using a relational database system PostgreSQL v 8.2.1 and the native XML database system named Berkeley DB XML v2.3.8.