维护物化查询表是相当耗时的,为了提高维护效率,我们可以给延迟刷新(REFRESH DEFERRED)的物化查询表定义一个staging 表。staging 表用来对物化查询表执行增量刷新,当刷新完成时,staging 表就会被删除。
基于1个网页-相关网页
Listing 2 shows an example of creating a REFRESH DEFERRED user-maintained MQT.
清单2展示了一个创建REFRESH DEFERRED类型的用户维护的MQT的例子。
The 'REFRESH DEFERRED' clause indicates that use of a 'REFRESH' statement will populate the MQT with data.
' REFRESH DEFERRED '子句指出,使用' REFRESH '语句将用数据填充m QT。
Since you can only create 'refresh deferred' MQTs on nicknames, you need to invoke the advisor with the '-u' option.
由于只能在昵称上创建' refresh deferred ' MQT,您需要带' - u '选项调用Design Advisor。
应用推荐