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

基于集合公理化的序相关性的有效和完全发现

Effective and Complete Discovery of Order Dependencies via Set-based Axiomatization

Jaroslaw Szlichta, Parke Godfrey, Lukasz Golab, Mehdi Kargar, Divesh Srivastava

摘要:

完整性约束为表达和执行应用程序语义提供了一个有价值的工具。然而,手动制定约束需要领域专业知识,容易出现人为错误,并且可能非常耗时,特别是在大型数据集上。因此,已经针对某些类别的IC提出了自动发现的建议,例如功能依赖性(FD),以及最近的顺序依赖性(OD)。OD适当地从属于FD,因为它们还可以表达涉及顺序的业务规则;例如,与其他雇员相比,一个雇员永远不会有更高的工资而缴纳更低的税款。我们解决了OD发现的现有工作的局限性,OD发现在属性的数量上具有因子复杂性,是不完整的(即,它没有发现不能从所发现的OD中推断出的有效OD)并且不简洁(即,它可能导致“冗余”发现和过大的发现集)。我们在复杂性上有了显著的改进,提供了完整性,并定义了一个紧凑的规范形式。这是基于一个新的多项式映射到一个规范的形式OD,和一个健全的和完整的公理集(推理规则)的规范OD。这使我们能够开发一个有效的集包含,格驱动的OD发现算法,使用的推理规则修剪的搜索空间。我们的算法具有指数最坏情况下的时间复杂度的属性和元组的数量的线性复杂度。我们证明它产生一个完整的,最小的OD集(即,关于规范表示的最小值)。最后,使用真实的和合成的数据集,我们的实验表明,订单的数量级的性能改进,目前最先进的算法,并证明我们的技术的有效性。

英文摘要:

Integrity constraints (ICs) provide a valuable tool for expressing and enforcing application semantics. However, formulating constraints manually requires domain expertise, is prone to human errors, and may be excessively time consuming, especially on large datasets. Hence, proposals for automatic discovery have been made for some classes of ICs, such as functional dependencies (FDs), and recently, order dependencies (ODs). ODs properly subsume FDs, as they can additionally express business rules involving order; e.g., an employee never has a higher salary while paying lower taxes compared with another employee. We address the limitations of prior work on OD discovery which has factorial complexity in the number of attributes, is incomplete (i.e., it does not discover valid ODs that cannot be inferred from the ones found) and is not concise (i.e., it can result in "redundant" discovery and overly large discovery sets). We improve significantly on complexity, offer completeness, and define a compact canonical form. This is based on a novel polynomial mapping to a canonical form for ODs, and a sound and complete set of axioms (inference rules) for canonical ODs. This allows us to develop an efficient set-containment, lattice-driven OD discovery algorithm that uses the inference rules to prune the search space. Our algorithm has exponential worst-case time complexity in the number of attributes and linear complexity in the number of tuples. We prove that it produces a complete, minimal set of ODs (i.e., minimal with regards to the canonical representation). Finally, using real and synthetic datasets, we experimentally show orders-of-magnitude performance improvements over the current state-of-the-art algorithm and demonstrate effectiveness of our techniques.

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

↑