Problem
You need to configure a CDB database for enabling a GoldenGate extract for replication
Solution
Perform the following actions on the source CDB database to prepare for a GoldenGate extract:
At CDB$ROOT:
CREATE USER c##ggadmin IDENTIFIED BY "<password>"
PROFILE <profile>
DEFAULT TABLESPACE SYSAUX
TEMPORARY TABLESPACE TEMP;
GRANT DBA to c##ggadmin;
EXEC DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE(GRANTEE => 'C##GGADMIN', CONTAINER => 'ALL' );
alter system set ENABLE_GOLDENGATE_REPLICATION=true scope=both;
alter system set STREAMS_POOL_SIZE=<#_of_extracts * 1>G scope=both;
ALTER DATABASE FORCE LOGGING;
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
At PDB level:
ALTER SESSION SET CONTAINER=<pdb>;
CREATE USER ggadmin IDENTIFIED BY "<password>"
PROFILE <profile>
DEFAULT TABLESPACE SYSAUX
TEMPORARY TABLESPACE TEMP;
GRANT DBA TO ggadmin;
EXEC DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE('ggadmin');
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
No comments:
Post a Comment