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

数据库修复的精确与近似计数

Exact and Approximate Counting of Database Repairs

Marco Calautti, Ester Livshits, Andreas Pieris, Markus Schneider

AI总结:

本文研究函数依赖下蕴含查询的数据库修复计数,推广精确计数二分法,并刻画 FPRAS 可近似与不可近似边界,发现左侧链函数依赖的可近似性孤岛。

摘要:

一致性查询回答领域的一项关键任务是计算蕴含该查询的修复数量,其最终目标是实现精确的数据复杂性分类。对于主键和无自连接合取查询(CQ),这一目标已通过 FP/#P-完全的二分法得以实现。我们将该结果推广到更一般的函数依赖(FD)情形。此背景下的另一项重要任务是:当所讨论的计数问题难以处理时,将其分类为可近似的,即目标值能够通过完全多项式时间随机近似方案(FPRAS)在误差保证下被高效近似,或分类为不可近似的。尽管对于主键和 CQ(即使包含自连接),该问题始终是可近似的,但我们证明对于 FD 情况并非如此。然而,我们表明具有左侧链的 FD 类别构成了一个可近似性孤岛。我们认为这些结果除了本身具有意义外,也是迈向 FD 和无自连接 CQ 情形下修复近似计数完整分类的关键步骤。

英文摘要:

A key task in the context of consistent query answering is to count the number of repairs that entail the query, with the ultimate goal being a precise data complexity classification. This has been achieved in the case of primary keys and self-join-free conjunctive queries (CQs) via an FP/#P-complete dichotomy. We lift this result to the more general case of functional dependencies (FDs). Another important task in this context is whenever the counting problem in question is intractable, to classify it as approximable, i.e., the target value can be efficiently approximated with error guarantees via a fully polynomial-time randomized approximation scheme (FPRAS), or as inapproximable. Although for primary keys and CQs (even with self-joins) the problem is always approximable, we prove that this is not the case for FDs. We show, however, that the class of FDs with a left-hand side chain forms an island of approximability. We see these results, apart from being interesting in their own right, as crucial steps towards a complete classification of approximate counting of repairs in the case of FDs and self-join-free CQs.

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

↑