--在BMS中创建快照日志
create snapshot log on ctc_product_content_mgr_t@to_brmdb;
--在prm中创建DBLINK
create database link to_brmdb connect to hwview identified by "hwview" using 'brmdb';
--在prm中创建快照
create snapshot ctc_product_content
refresh force start with sysdate+(1/(24*60))
next sysdate+(10/(24*60)) with primary key as
select * from ctc_product_content_mgr_t@to_brmdb;
--删除快照表
DROP MATERIALIZED VIEW ctc_product_content;
--删除快照
DROP SNAPSHOT ctc_product_content;
1/1440=1分钟=1/24*60
1/144=10分钟=10/24*60
1/24=1小时=60/24*60
1/1=1天=60*24/24*60
create snapshot log on ctc_product_content_mgr_t@to_brmdb;
--在prm中创建DBLINK
create database link to_brmdb connect to hwview identified by "hwview" using 'brmdb';
--在prm中创建快照
create snapshot ctc_product_content
refresh force start with sysdate+(1/(24*60))
next sysdate+(10/(24*60)) with primary key as
select * from ctc_product_content_mgr_t@to_brmdb;
--删除快照表
DROP MATERIALIZED VIEW ctc_product_content;
--删除快照
DROP SNAPSHOT ctc_product_content;
1/1440=1分钟=1/24*60
1/144=10分钟=10/24*60
1/24=1小时=60/24*60
1/1=1天=60*24/24*60