arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1007.2671cs.DS
收藏

XML数据库中XML重建视图选择:复杂性分析及近似方案

XML Reconstruction View Selection in XML Databases: Complexity Analysis and Approximation Scheme

Artem Chebotko, Bin Fu

摘要:

XML数据库中的查询计算需要重建以XML查询找到的节点为根的XML子树。由于XML子树重构的开销很大,因此提高查询响应时间的一种方法是使用重构视图--XML文档的物化XML子树,XML查询经常访问其节点。为了使这种方法有效,主要要求是视图选择的框架。在这项工作中,我们是第一个形式化和研究的XML重建视图选择的问题。输入是树$T$,其中每个节点$i$具有大小$c_i$和利润$p_i$,以及大小限制$C$。目标是找到分别以节点$i_1,\cdots, i_k$为根的子树的子集,使得$c_{i_1}+\cdots +c_{i_k}\le C$和$p_{i_1}+\cdots +p_{i_k}$是最大的。此外,在解决方案中选择的任何两个子树之间没有重叠。我们证明了这个问题是NP-困难的,并提出了一个完全多项式时间近似方案(FPTAS)作为解决方案。

英文摘要:

Query evaluation in an XML database requires reconstructing XML subtrees rooted at nodes found by an XML query. Since XML subtree reconstruction can be expensive, one approach to improve query response time is to use reconstruction views - materialized XML subtrees of an XML document, whose nodes are frequently accessed by XML queries. For this approach to be efficient, the principal requirement is a framework for view selection. In this work, we are the first to formalize and study the problem of XML reconstruction view selection. The input is a tree $T$, in which every node $i$ has a size $c_i$ and profit $p_i$, and the size limitation $C$. The target is to find a subset of subtrees rooted at nodes $i_1,\cdots, i_k$ respectively such that $c_{i_1}+\cdots +c_{i_k}\le C$, and $p_{i_1}+\cdots +p_{i_k}$ is maximal. Furthermore, there is no overlap between any two subtrees selected in the solution. We prove that this problem is NP-hard and present a fully polynomial-time approximation scheme (FPTAS) as a solution.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑