维护物化查询表是相当耗时的,为了提高维护效率,我们可以给延迟刷新(REFRESH DEFERRED)的物化查询表定义一个staging 表。staging 表用来对物化查询表执行增量刷新,当刷新完成时,staging 表就会被删除。
基于1个网页-相关网页
The value of the register in turn determines what types of refresh deferred materialized query tables will be used during query optimization.
注册表的值又确定在查询优化期间将使用何种类型的刷新延迟物化查询表。
Listing 2 shows an example of creating a REFRESH DEFERRED user-maintained MQT.
清单2展示了一个创建REFRESH DEFERRED类型的用户维护的MQT的例子。
The refresh DEFERRED clause means that the data in the table can be refreshed at any time using the refresh table statement.
REFRESH deferred子句的意思是,在任何时候都可以用REFRESH table语句刷新该表中的数据。
应用推荐