主键与一元外键一致查询查询的二分法
A Dichotomy in Consistent Query Answering for Primary Keys and Unary Foreign Keys
摘要:
自2005年以来,在关于主键的一致性查询排序(CQA)问题上取得了重大进展。在这个问题中,输入是一个可能违反一个或多个主键码约束的数据库实例。修复被定义为满足所有主键的最大子实例。给定一个布尔查询q,问题是q是否在每次修复中都为真。尽管引用完整性在数据库系统中非常重要,但到目前为止,该领域的理论研究还没有解决主键码和外键约束的组合。本文讨论的问题,CQA方面的主键和外键。在这种情况下,很自然地采用了关键字差异修复的概念,因为可以通过插入新的元组来修复外键。我们考虑的情况下,外键是一元的,查询是合取查询没有自连接。在这种情况下,我们的特点之间的边界CQA问题,承认一个一致的一阶重写,和那些不。
英文摘要:
Since 2005, significant progress has been made in the problem of Consistent Query Answering (CQA) with respect to primary keys. In this problem, the input is a database instance that may violate one or more primary key constraints. A repair is defined as a maximal subinstance that satisfies all primary keys. Given a Boolean query q, the question then is whether q holds true in every repair. So far, theoretical research in this field has not addressed the combination of primary key and foreign key constraints, despite the importance of referential integrity in database systems. This paper addresses the problem of CQA with respect to both primary keys and foreign keys. In this setting, it is natural to adopt the notion of symmetric-difference repairs, because foreign keys can be repaired by inserting new tuples. We consider the case where foreign keys are unary, and queries are conjunctive queries without self-joins. In this setting, we characterize the boundary between those CQA problems that admit a consistent first-order rewriting, and those that do not.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。