arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.05161cs.DB
收藏

有限域不完备数据库中的近似键与函数依赖——算法视角

Approximate Keys and Functional Dependencies in Incomplete Databases With Limited Domains-Algorithmic Perspective

Munqath Al-atar, Attila Sali

AI总结:

本文针对不完备数据库中的强可能键和函数依赖,提出新近似度量g5(添加元组比率),证明其与g3(删除元组比率)的关系及独立性,并研究计算复杂性。

摘要:

不完备数据库表的一个可能世界是通过从属性的(无限)域中为\texttt{NULL}值填充值而获得的。如果存在该表的一个可能世界满足给定的键或函数依赖约束,则称该表满足一个可能键或可能函数依赖约束。如果表的所有可能世界都满足该约束,则称该表满足一个确定键或函数依赖。最近,引入了一个中间概念:如果存在一个强可能世界满足该键或函数依赖,则称该表满足一个强可能键或函数依赖。强可能世界是通过从属性的活动域(即表中出现的值)中填充值而获得的。在本文中,我们研究强可能键和函数依赖的近似度量。度量$g_3$是为使剩余表满足约束而需删除的最小元组数的比率。我们引入一个新度量$g_5$,即为使结果满足约束而需向表中添加的最小元组数的比率。$g_5$是有意义的,因为添加元组可能扩展活动域。我们证明,如果$g_5$可以针对表和约束定义,则$g_3$值始终是$g_5$值的上界。然而,这两个度量彼此独立,即对于任何有理数$0\le\frac{p}{q}<1$,存在具有任意大行数和常数列表的表满足$g_3-g_5=\frac{p}{q}$。一个可能世界通常通过添加许多表中先前未出现的新值来获得。度量$g_5$衡量活动域的最小可能失真。我们研究了确定这些近似度量的复杂性。

英文摘要:

A possible world of an incomplete database table is obtained by imputing values from the attributes (infinite) domain to the place of \texttt{NULL} s. A table satisfies a possible key or possible functional dependency constraint if there exists a possible world of the table that satisfies the given key or functional dependency constraint. A certain key or functional dependency is satisfied by a table if all of its possible worlds satisfy the constraint. Recently, an intermediate concept was introduced. A strongly possible key or functional dependency is satisfied by a table if there exists a strongly possible world that satisfies the key or functional dependency. A strongly possible world is obtained by imputing values from the active domain of the attributes, that is from the values appearing in the table. In the present paper, we study approximation measures of strongly possible keys and FDs. Measure $g_3$ is the ratio of the minimum number of tuples to be removed in order that the remaining table satisfies the constraint. We introduce a new measure $g_5$, the ratio of the minimum number of tuples to be added to the table so the result satisfies the constraint. $g_5$ is meaningful because the addition of tuples may extend the active domains. We prove that if $g_5$ can be defined for a table and a constraint, then the $g_3$ value is always an upper bound of the $g_5$ value. However, the two measures are independent of each other in the sense that for any rational number $0\le\frac{p}{q}<1$ there are tables of an arbitrarily large number of rows and a constant number of columns that satisfy $g_3-g_5=\frac{p}{q}$. A possible world is obtained usually by adding many new values not occurring in the table before. The measure $g_5$ measures the smallest possible distortion of the active domains. We study complexity of determining these approximate measures.

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

↑