Efficiently updating materialized views
José A. Blakeley, Per-Åke Larson, Frank Wm. Tompa · ACM SIGMOD Record · 1986
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.
Cited by 429 works. doi:10.1145/16856.16861 Open-access PDF
Authors
References
- Algorithm 97: Shortest path
- Decomposition—a strategy for query processing
- Database Snapshots
- Efficiently monitoring relational databases
- Efficient optimization of a class of relational expressions
- Efficient optimization of a class of relational expressions
- Processing conjunctive predicates and queries
- Efficient monitoring of database assertions
- A transformational framework for the automatic control of derived data
- Maintenance of views