Efficient Answering of Historical What-if Queries

03/24/2022
by   Felix S. Campbell, et al.
0

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.

READ FULL TEXT
research
04/26/2021

Provenance-based Data Skipping (TechReport)

Database systems analyze queries to determine upfront which data is need...
research
12/14/2021

Answering Queries with Negation over Existential Rules

Ontology-based query answering with existential rules is well understood...
research
12/11/2021

The Past as a Stochastic Process

Historical processes manifest remarkable diversity. Nevertheless, schola...
research
08/27/2019

Answering Summation Queries for Numerical Attributes under Differential Privacy

In this work we explore the problem of answering a set of sum queries un...
research
05/26/2020

History-Aware Question Answering in a Blocks World Dialogue System

It is essential for dialogue-based spatial reasoning systems to maintain...
research
03/09/2019

RadegastXDB - Prototype of Native XML Database Management System: Technical Report

A lot of advances in the processing of XML data have been proposed in la...
research
03/09/2019

RadegastXDB - Prototype of a Native XML Database Management System: Technical Report

A lot of advances in the processing of XML data have been proposed in th...

Please sign up or login with your details

Forgot password? Click here to reset