使用密钥集控制实体完整性
Controlling Entity Integrity with Key Sets
摘要:
Codd的实体完整性规则规定每个表都有一个主键码。因此,主键码的属性携带唯一且完整的值组合。在实践中,数据并不总是符合这些要求。以前的工作提出了控制实体完整性的密钥集的优越概念。我们建立了一个线性时间算法来验证一个给定的密钥集是否持有一个给定的数据集,并证明了其对现实世界的数据的效率。我们建立了关联蕴涵问题的二元公理化,并证明了它的coNP-完全性。然而,任意键集的一元蕴涵具有更好的性质。片段享有一元公理化,并在二次时间可判定。因此,我们可以在验证密钥集之前最小化开销。虽然完美的模型并不总是存在的一般情况下,我们展示了如何计算它们的任何实例,我们的片段。这为获取密钥集提供了计算支持。
英文摘要:
Codd's rule of entity integrity stipulates that every table has a primary key. Hence, the attributes of the primary key carry unique and complete value combinations. In practice, data cannot always meet such requirements. Previous work proposed the superior notion of key sets for controlling entity integrity. We establish a linear-time algorithm for validating whether a given key set holds on a given data set, and demonstrate its efficiency on real-world data. We establish a binary axiomatization for the associated implication problem, and prove its coNP-completeness. However, the implication of unary by arbitrary key sets has better properties. The fragment enjoys a unary axiomatization and is decidable in quadratic time. Hence, we can minimize overheads before validating key sets. While perfect models do not always exist in general, we show how to compute them for any instance of our fragment. This provides computational support towards the acquisition of key sets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。