计算机科学 > 数据库
[提交于 2022年3月24日]
标题:Efficient Answering of Historical What-if Queries
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Felix Campbell[v1] 2022年3月24日 星期四 05:52:10 UTC