谱系感知时态窗口:支持时态概率数据库中的集合运算
Lineage-Aware Temporal Windows: Supporting Set Operations in Temporal-Probabilistic Databases
摘要:
在时间-概率(TP)数据库中,时间维和概率维的结合给集合运算的计算增加了显著的开销。虽然集合查询保证产生线性大小的输出关系,现有的解决方案表现出二次运行时的复杂性。他们遭受冗余的区间比较和额外的连接,形成谱系表达式。本文对TP数据库中集合运算的语义进行了形式化的定义,并研究了它们的性质。为了提高计算效率,我们引入了谱系感知的时间窗口,这是一种直接将区间与谱系表达式绑定的机制。我们提出了一种线性窗口推进器(LAWA),用于在线性时间内产生两个TP关系的窗口,并基于LAWA实现了所有的TP集合运算。通过利用谱系感知时间窗口的灵活性,我们执行直接过滤不相关的间隔和输出谱系表达式的终结,从而保证不需要额外的计算成本或缓冲区空间。在合成和真实世界数据集上的一系列实验表明:(a)我们的方法具有可预测的性能,仅取决于输入大小,而不是每个事实的时间间隔数量或它们的重叠,并且(b)它在时间和概率数据库中的性能优于最先进的方法。
英文摘要:
In temporal-probabilistic (TP) databases, the combination of the temporal and the probabilistic dimension adds significant overhead to the computation of set operations. Although set queries are guaranteed to yield linearly sized output relations, existing solutions exhibit quadratic runtime complexity. They suffer from redundant interval comparisons and additional joins for the formation of lineage expressions. In this paper, we formally define the semantics of set operations in TP databases and study their properties. For their efficient computation, we introduce the lineage-aware temporal window, a mechanism that directly binds intervals with lineage expressions. We suggest the lineage-aware window advancer (LAWA) for producing the windows of two TP relations in linearithmic time, and we implement all TP set operations based on LAWA. By exploiting the flexibility of lineage-aware temporal windows, we perform direct filtering of irrelevant intervals and finalization of output lineage expressions and thus guarantee that no additional computational cost or buffer space is needed. A series of experiments over both synthetic and real-world datasets show that (a) our approach has predictable performance, depending only on the input size and not on the number of time intervals per fact or their overlap, and that (b) it outperforms state-of-the-art approaches in both temporal and probabilistic databases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。