Side-Effect Estimation: A Filtering Approach to the View Update Problem
- 16 July 2013
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Knowledge and Data Engineering
- Vol. 26 (9) , 2307-2322
Abstract
Views and their updates have long been a fundamental technology required in a wide range of applications. However, it has been known that updates through views is a classical intractable problem. In this paper, we propose a novel, data-oriented approach to this problem that provides a practical support for view updates. In particular, we propose a summarization of the source database of views, which serves as an update filter. The update filter aims to efficiently reject untranslatable view updates by estimating the side effects of the updates, thereby avoiding costly translation analysis. For applications where estimation errors are not preferred, our update filter can be tuned to be exact. In this paper, we present our approach with SPJ views, an important class of view definitions. We first revise the notion of estimation errors to quantify the filter's qualities. We then propose a novel join cardinality summary (JCard) derived from cardinality equivalence. An estimation algorithm is proposed. Finally, we present optimizations enabling the construction of an accurate JCard through heuristics and sampling. Our extensive experiments show that update filters are efficient and can be easily tuned to produce accurate estimations on TPC-H and DBLP.Keywords
This publication has 32 references indexed in Scilit:
- Updating Typical XML ViewsLecture Notes in Computer Science, 2012
- Rewriting queries on SPARQL views2011
- A Comparative Study of View Update Problem2010
- Query Processing with Materialized Views in a Traceable P2P Record Exchange FrameworkLecture Notes in Computer Science, 2010
- Content-based filtering for efficient online materialized view maintenance2008
- Updates Through Views: A New Hope2006
- The impact of the constant complement approach towards view updating2003
- On the computation of relational view complementsACM Transactions on Database Systems, 2003
- On propagation of deletions and annotations through views2002
- The Role of Semantics in Translating View UpdatesComputer, 1986