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

基于冗余度的Top-k函数依赖发现

Redundancy-Driven Top-$k$ Functional Dependency Discovery

School of Computer Science and Technology, Harbin Institute of Technology(计算机科学与技术学院,哈尔滨工业大学)

Xiaolong Wan, Xixian Han

AI总结:

本文提出SDP算法,通过冗余度发现Top-k函数依赖,优化搜索空间以提高效率。

摘要:

函数依赖(FDs)是关系数据库中的基本约束,并被用于许多数据管理任务。大多数FD发现算法寻找所有有效的依赖,但这导致两个问题。首先,计算成本过高:计算复杂度随着元组数量的增加而平方增长,随着属性数量的增加而指数增长,这使得在大规模和高维数据上发现变得缓慢。其次,结果集可能非常庞大,使识别有用的依赖变得困难。我们提出了SDP(选择性发现和修剪),它通过冗余度来发现排名的Top-k FDs。冗余度衡量一个FD解释了多少重复信息,并直接与存储开销和更新异常相关联。SDP使用冗余度的上界来修剪搜索空间。证明了这个上界是单调的:添加属性会细化分区,从而降低界。一旦界低于Top-k阈值,整个分支可以被跳过。我们通过三种优化改进SDP:按分区基数对属性排序,使用配对统计在分区基数矩阵中收紧界,以及一个全局调度器优先探索有前途的分支。在超过40个数据集上的实验表明,SDP比穷举方法更快且内存使用更少。

英文摘要:

Functional dependencies (FDs) are basic constraints in relational databases and are used for many data management tasks. Most FD discovery algorithms find all valid dependencies, but this causes two problems. First, the computational cost is prohibitive: computational complexity grows quadratically with the number of tuples and exponentially with the number of attributes, making discovery slow on large-scale and high-dimensional data. Second, the result set can be huge, making it hard to identify useful dependencies. We propose SDP (Selective-Discovery-and-Prune), which discovers the top-$k$ FDs ranked by redundancy count. Redundancy count measures how much duplicated information an FD explains and connects directly to storage overhead and update anomalies. SDP uses an upper bound on redundancy to prune the search space. It is proved that this upper bound is monotone: adding attributes refines partitions and thus decreases the bound. Once the bound falls below the top-$k$ threshold, the entire branch can be skipped. We improve SDP with three optimizations: ordering attributes by partition cardinality, using pairwise statistics in a Partition Cardinality Matrix to tighten bounds, and a global scheduler to explore promising branches first. Experiments on over 40 datasets show that SDP is much faster and uses less memory than exhaustive methods.

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

↑