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

历史假设推理的有效实现

Efficient Answering of Historical What-if Queries

Felix S. Campbell, Bahareh Sadat Arab, Boris Glavic

摘要:

我们引入历史假设查询,一种新类型的假设分析,确定一个假设的变化对数据库的事务历史的影响。例如,“如果我们收取额外的6美元运费,收入会受到什么影响?“这样的查询可能会导致比传统的假设查询更可行的见解,因为它们的结果可以用来通知未来的行动,例如,增加运费。我们开发了有效的技术来回答历史假设查询,即,确定修改的历史如何影响当前数据库状态。我们的技术是基于重演,一个重放技术的交易历史。我们使用程序和数据切片技术来优化这个过程,这些技术可以确定哪些更新和哪些数据可以从重演中排除,而不会影响结果。使用我们的技术在Mahif(一个中间件,用于存储历史的什么,如果查询)的实现,我们证明了它们的有效性实验。

英文摘要:

We introduce historical what-if queries, a novel type of what-if analysis that determines the effect of a hypothetical change to the transactional history of a database. For example, "how would revenue be affected if we would have charged an additional $6 for shipping?" Such queries may lead to more actionable insights than traditional what-if queries as their results can be used to inform future actions, e.g., increasing shipping fees. We develop efficient techniques for answering historical what-if queries, i.e., determining how a modified history affects the current database state. Our techniques are based on reenactment, a replay technique for transactional histories. We optimize this process using program and data slicing techniques that determine which updates and what data can be excluded from reenactment without affecting the result. Using an implementation of our techniques in Mahif (a Middleware for Answering Historical what-IF queries) we demonstrate their effectiveness experimentally.

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

↑