| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Materialized view replication problem
Bing Wu wrote:
> Frank van Bortel wrote:
>
>> One other thought just popped: >> >> how did you define the database link? code snippet, please >>
Thought so... Bet it works OK if you use a public db link with password, e.g. as sys (or anyone with public db link creation rights) :
create public database link REMOTE_SITE.FQD using 'REMOTE_SITE' connect to repadmin identified by PASSWD;
Now - this may not be what you want (security concerns, and all that), but as you use a trusted model already...
I do have a working (wel... used to, 3 years ago) untrusted model demo, if you're interested. Needs some brushing up, I guess, so don't hold your breath.
I do notice some differences in grants to REPADMIN:
create user repadmin identified by repadmin
default tablespace tools
temporary tablespace temp;
--
-- (3) grant privileges; two ways: direct and via package
--
grant connect, resource, comment any table, lock any table to repadmin;
begin
DBMS_REPCAT_ADMIN.GRANT_ADMIN_ANY_SCHEMA(
username => 'REPADMIN');
end;
/
--
Regards,
Frank van Bortel
Received on Fri Apr 15 2005 - 06:57:47 CDT
![]() |
![]() |