1998 · 122 citations · 31 references
Semistructured data, often irregular or incomplete and sourced from heterogeneous or Web origins, is commonly materialized in views that filter and restructure it to enable fast query response. This work proposes an incremental maintenance algorithm for materialized views over semistructured data. Using the OEM graph‑based data model and the Lorel query language, the algorithm generates update queries and an analytic cost model to compare incremental maintenance against full recomputation. The algorithm is more efficient than recomputation for nearly all update types, even when thousands of updates occur.
Semistructured data is not strictly typed like relational or object-oriented data and may be irregular or incomplete. It often arises in practice, e.g., when heterogeneous data sources are integrated or data is taken from the World Wide Web. Views over semistructured data can be used to filter the data and to restructure (or provide structure to) it. To achieve fast query response time, these views are often materialized. This paper proposes an incremental maintenance algorithm for materialized views over semistructured data. We use the graph-based data model OEM and the query language Lorel, developed at Stanford, as the framework for our work. our algorithm produces a set of queries that compute the updates to the view based upon an update of the source. We develop an analytic cost model and compare the cost of executing our incremental maintenance algorithm to that of recomputing the view. We show that for nearly all types of database updates, it is more efficient to apply our incremental maintenance algorithm to the view than to recompute the view from the database, even when there are thousands of updates.
31
The Lorel query language for semistructured data
Serge Abiteboul, Dallan Quass, Jason McHugh et al. · International Journal on Digital Libraries · 1997 · 1.1K citations
Maintaining views incrementally
Ashish Gupta, Inderpal Singh Mumick, V. S. Subrahmanian · 1993 · 655 citations
Jason McHugh, Serge Abiteboul, Roy Goldman et al. · ACM SIGMOD Record · 1997 · 580 citations · Full text