Extracting a largest redundancy-free XML storage structure from an acyclic hypergraph in polynomial time |
| |
Authors: | Wai Yin Mok Joseph Fong David W. Embley |
| |
Affiliation: | 1. Department of Economics and Information Systems, University of Alabama in Huntsville, Huntsville, AL 35899, United States;2. Department of Computer Science, City University of Hong Kong, Hong Kong, China;3. Department of Computer Science, Brigham Young University, Provo, UT 84602, United States |
| |
Abstract: | Given a hypergraph and a set of embedded functional dependencies, we investigate the problem of determining the conditions under which we can efficiently generate redundancy-free XML storage structures with as few scheme trees as possible. Redundancy-free XML structures guarantee both economy in storage space and the absence of update anomalies, and having the least number of scheme trees requires the fewest number of joins to navigate among the data elements. We know that the general problem is intractable. The problem may still be intractable even when the hypergraph is acyclic and each hyperedge is in Boyce–Codd normal form (BCNF). As we show here, however, given an acyclic hypergraph with each hyperedge in BCNF, a polynomial-time algorithm exists that generates a largest possible redundancy-free XML storage structure. Successively generating largest possible scheme trees from among hyperedges not already included in generated scheme trees constitutes a reasonable heuristic for finding the fewest possible scheme trees. For many practical cases, this heuristic finds the set of redundancy-free XML storage structures with the fewest number of scheme trees. In addition to a correctness proof and a complexity analysis showing that the algorithm is polynomial, we also give experimental results over randomly generated but appropriately constrained hypergraphs showing empirically that the algorithm is indeed polynomial. |
| |
Keywords: | XML data redundancy Large XML storage structures XML-Schema generation Acyclic hypergraphs |
本文献已被 ScienceDirect 等数据库收录! |
|