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

关系数据库的目标最小基数候选键

Targeted Least Cardinality Candidate Key for Relational Databases

Vasileios Nakos, Hung Q. Ngo, Charalampos E. Tsourakakis

AI总结:

本文提出了目标最小基数候选键问题(TCAND),通过整数规划和线性规划松弛方法分析其近似算法与积分间隙,揭示了该问题在理论复杂度上超越标准集合覆盖问题。

摘要:

函数依赖(FDs)是数据库的核心主题,在数据库模式设计和查询优化中发挥主要作用。在本研究中,我们引入了目标最小基数候选键问题(TCAND)。该问题定义在一组函数依赖$F$和目标变量集$T \subseteq V$上,旨在找到最小集合$X \subseteq V$,使得FD $X \to T$能从$F$中推导出来。TCAND问题推广了著名的NP-hard最小基数候选键问题,该问题已被证明至少与集合覆盖问题一样困难。我们提出了TCAND问题的整数规划(IP)公式,类似于分层集合覆盖问题。我们从两个角度分析了其线性规划(LP)松弛:提出了两种近似算法并研究了积分间隙。研究结果表明,通过LP舍入无法显著改进算法的近似上界,这与标准集合覆盖问题形成显著区别。此外,我们发现TCAND问题的一种推广等价于集合覆盖问题的一个变体,称为红蓝集合覆盖,在合理假设下无法在多项式时间内以次多项式因子进行近似。尽管识别最小基数候选键问题历史悠久,我们的研究仍提供了新的理论见解、新颖算法,并证明了一般TCAND问题带来的复杂性超越了集合覆盖问题。

英文摘要:

Functional dependencies (FDs) are a central theme in databases, playing a major role in the design of database schemas and the optimization of queries. In this work, we introduce the {\it targeted least cardinality candidate key problem} (TCAND). This problem is defined over a set of functional dependencies $F$ and a target variable set $T \subseteq V$, and it aims to find the smallest set $X \subseteq V$ such that the FD $X \to T$ can be derived from $F$. The TCAND problem generalizes the well-known NP-hard problem of finding the least cardinality candidate key~\cite{lucchesi1978candidate}, which has been previously demonstrated to be at least as difficult as the set cover problem. We present an integer programming (IP) formulation for the TCAND problem, analogous to a layered set cover problem. We analyze its linear programming (LP) relaxation from two perspectives: we propose two approximation algorithms and investigate the integrality gap. Our findings indicate that the approximation upper bounds for our algorithms are not significantly improvable through LP rounding, a notable distinction from the standard set cover problem. Additionally, we discover that a generalization of the TCAND problem is equivalent to a variant of the set cover problem, named red-blue set cover~\cite{carr1999red}, which cannot be approximated within a sub-polynomial factor in polynomial time under plausible conjectures~\cite{chlamtavc2023approximating}. Despite the extensive history surrounding the issue of identifying the least cardinality candidate key, our research contributes new theoretical insights, novel algorithms, and demonstrates that the general TCAND problem poses complexities beyond those encountered in the set cover problem.

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

↑