XML Vectorization: A Column-Based XML Storage Model

Byron Koon Kau Choi, Peter Buneman · ScholarlyCommons (University of Pennsylvania) · 2003

The usual method for storing tables in a relational database is to store each tuple contiguously in sec-ondary storage. A simple alternative is to store the columns contiguously, so that a table is repre-sented as a set of vectors all of the same length. It has been shown that such a representation per-forms well on queries requiring few columns. This paper reviews the shredding scheme used in XMill, an XML compressor, which represents the document structure by using a set of files, con-sisting of a file describing the structure, and files describing the character data to be found on des-ignated paths (corresponding to the column data). We consider such a shredding as a storage model – XML vectorization – by presenting an indexing scheme and a physical algebra associated with a detailed cost model. We study query processing on the XML vectorization, in particular the XML join queries. XML join queries are often trans-lated into a few relational join operations in the relational-based XML storage systems. The use of columns enables us to develop a fast join al-gorithm for vectorized XML based on two hash-based join algorithms. The important feature of the join algorithm is that the disk access of the algorithm is mostly sequential and the data not needed are not read from disk. Experimental re-sults demonstrate the effectiveness of the join al-gorithm for vectorized XML. 1

Read the paper · More papers on PaperTik