login

Efficiently updating materialized views

ACM SIGMOD RecordPublished 15 June 1986Open access
José A. Blakeley, Per-Åke Larson, Frank Wm. Tompa
Citations427
SJR quartileQ2
SJR score0.69
SNIP0.92
View PDF

Abstract

Query processing can be sped up by keeping frequently accessed users' views materialized. However, the need to access base relations in response to queries can be avoided only if the materialized view is adequately maintained. We propose a method in which all database updates to base relations are first filtered to remove from consideration those that cannot possibly affect the view. The conditions given for the detection of updates of this type, called irrelevant updates , are necessary and sufficient and are independent of the database state. For the remaining database updates, a differential algorithm can be applied to re-evaluate the view expression. The algorithm proposed exploits the knowledge provided by both the view definition expression and the database update operations.

Keywords

Computer Science