论文标题
有效回答历史何时询问
Efficient Answering of Historical What-if Queries
论文作者
论文摘要
我们介绍了历史性纪念品,这是一种新型的何种分析,它决定了假设变化对数据库交易历史的影响。例如,“如果我们要额外支付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.