提出一种基于异步更新和延迟更新相结合的算法ADUA,其中异步更新机制充分利用系统的空闲时间对尽可能多的失效视图进行刷新,对那些没有得到及时更新而被查询的物化视图,则利用延迟更新进行处理而确保查询的时新性.ADUA算法不但可保证数据的时新性,而且通过对系统资源合理的调度,可提高算法在不同负荷条件下的适应能力,进一步降低更新开销对查询响应速度的影响,使Web视图的物化效益得以充分发挥.
WebView materialization is an important method to improve the query response performance of a web server. As opposed to data warehouse in which updates are usually performed off-line, updates of materialized WebView need to be done online. However, there is little research on the issue. This paper gives a review and proposes an asynchronous and deferring update approach (ADUA), which is composed of synchronous inspection of materialized WebView update (SUIMW), deferring update of materialized WebView (DUMV) and asynchronous update of materialized WebView (AUMW). The approach combines asynchronous update and deferring updating to realize the freshness of materialized WebView efficiently, and can significantly accelerate response to queries.