Materialized View
--fc1cn
create materialized view log on FC_BJ_PROD_USER.BIN_ITEMS tablespace ADMINISTRATOR;
--create materialized view on fcdw1cn
CREATE SNAPSHOT FC_BJ_PROD_USER.BIN_ITEMS_BAK REFRESH FAST AS SELECT * FROM FC_BJ_PROD_USER.BIN_ITEMS@FC1CN.AMAZON
--create materialized view on fcdw1cn
--exec dbtools_run_as('BOOKER','select * from v$database');
exec dbms_snapshot.refresh(list=>'FC_BJ_PROD_USER.BIN_ITEMS_BAK', method=>'f');
EXEC dbms_refresh.make(name=>'REPADMIN.SNAP_FC1CN',list=>NULL,next_date=>SYSDATE,interval=>'SYSDATE+(2/(24 * 60))',lax=>TRUE);
EXEC dbms_refresh.add (name=>'REPADMIN.SNAP_FC1CN', list=>'FC_BJ_PROD_USER.BIN_ITEMS_BAK', lax => TRUE);
EXEC DBMS_REFRESH.REFRESH('REPADMIN.SNAP_FC1CN');
exec dbms_job.run(...);
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/756652/viewspace-242507/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- drop materialized view hung !!!ZedView
- materialized view 的總結ZedView
- about materialized view and long(turn)ZedView
- materialized view (物化檢視)ZedView
- 利用materialized view同步資料ZedView
- materialized view基礎知識ZedView
- Materialized View Logs (190)ZedView
- Oracle vs PostgreSQL Develop(20) - Materialized ViewOracleSQLdevZedView
- Synonym_View_Materialized和Public物件ViewZed物件
- How to Monitor the Progress of a Materialized View Refresh (MVIEW)ZedView
- 建立物化檢視MV ( Materialized View )ZedView
- 11g中的materialized view logZedView
- 轉:物化檢視(Materialized View)介紹ZedView
- mv(materialized view)的一點測試ZedView
- 【MW】Drop Materialized View Hangs with 'Enq: JI - Contention'ZedViewENQ
- oracle10g materialized view物化檢視示例OracleZedView
- ogg 同步 物化檢視建立限制 Materialized ViewZedView
- 建立Materialized view log時是否使用sequence clause的差別ZedView
- 跨DB主機抓取資料建議用MATERIALIZED VIEWZedView
- materialized view的fast和日誌分析和一則案例ZedViewAST
- oracle10g nested materialized view巢狀物化檢視示例OracleZedView巢狀
- zt_yangtinkung_ITPUB知識索引貼——物化檢視materialized view索引ZedView
- Data Warehouse Guide閱讀筆記(八):materialized view之一GUIIDE筆記ZedView
- 物化檢視(Materialized View)的重新整理回滾約束ZedView
- 物化檢視(Materialized View)的重新整理回滾測試ZedView
- 物化檢視日誌(materialized view log)引起大量Dfs Lock Handle等待ZedView
- oracle10g partition分割槽表與物化檢視materialized viewOracleZedView
- setting up materialized view sites for oracle10g advanced replication mvZedViewOracle
- flashback與dmt tbs以及trigger,materialized view log之間的關係!ZedView
- Overview of Materialized Views (184)ViewZed
- Refresh Materialized Views (189)ZedView
- [DW]An article about Materialized Views(zz)ZedView
- Extents in Materialized Views and Their Logs (18)ZedView
- [轉]Trees in SQL: Nested Sets and Materialized PathSQLZed
- Materialized Views in data warehouse environment (185)ZedView
- [20230225]12c Real-time materialized view 實時物化檢視的應用.txtZedView
- Validating Tables, Indexes, Clusters, and Materialized ViewsIndexZedView
- Materialized Views in data distributed environment (186)ZedView