我先说明一下我的环境:
库A(源站点):数据库oracle8174
操作如下:
SQL> connect test/test@vipbill_bak
Connected to Oracle8i Enterprise Edition Release 8.1.7.4.0
Connected as test
SQL> create table t (id int)
2 ;
Table created
SQL> alter table t add constraint pk_t primary key (id);
Table altered
SQL> create materialized view log on t;
Materialized view log created
SQL> insert into t values (1);
1 row inserted
SQL> commit;
Commit complete
SQL> select * from t;
ID
---------------------------------------
1
库B(物化视图站点):
操作如下:
create public database link VIPBILL_BAK.NET
connect to TEST
identified by "
"
using '(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = ...
SQL> select * from t@vipbill_bak.NET;
ID
---------------------------------------
1
create materialized view s_t refresh fast as select * from t@vipbill_bak.NET;
SQL> select * from s_t;
ID
---------------------------------------
SQL>
没有返回结果,为什么?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9375/viewspace-555131/
,如需转载,请注明出处,否则将追究法律责任。