oracle快照dblink,snapshot的时候提示表或试图不存在
A服务器和B服务器 都有表 test_user
第一步: A服务器创建 dblink
create database link "yuleiDBLink"
connect to "yulei" identified by "admin"
using ' (DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.202)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ylwz)
)
)';
select * from test_user@yuleiDBLink.test.com.cn
Create snapshot log on test_user;
Create snapshot sn_test_user as select * from test_user @yuleiDBLink.test.com.cn