专著oracle 技术 记录维护生产数据库的点点滴滴....

物化视图组进行刷新

上一篇 / 下一篇  2008-03-19 21:22:54 / 个人分类:Oracle DBA

当我们需要同步数据时,很多时候用到物化视图,在默认建立物化视图时,就会默认建立了物化视图组,而每个物化视图就建立一个job 进行数据同步。这个时候就需要手动建立物化视图组,启动一个job来完成。

利用 DBMS_REFRESH 程序包,详细见oracle document

"ADD Procedure" Adds materialized views to a refresh group.
"CHANGE Procedure" Changes the refresh interval for a refresh group.
"DESTROY Procedure"  Removes all of the materialized views from a refresh group and deletes the refresh group.
"MAKE Procedure" Specifies the members of a refresh group and the time interval used to determine when the members of this group should be refreshed.
"REFRESH Procedure" Manually refreshes a refresh group.
"SUBTRACT Procedure" Removes materialized views from a refresh group.


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-10-16  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 9615
  • 日志数: 674
  • 建立时间: 2007-12-21
  • 更新时间: 2008-10-11

RSS订阅

Open Toolbar