Prerequisites for Capturing from an Autonomous Database
Oracle Autonomous Database has a tight integration with Oracle GoldenGate. There are a number of differences when setting up Extract for an Autonomous database instance compared to a traditional Oracle Database.
Oracle Autonomous Database security has been enhanced to ensure that Extract is only able to capture changes from the specific tenant it connected to. Therefore, Downstream Integrated Extract is not supported.
Establishing Oracle GoldenGate Credentials
GGADMIN
account is used. The GGADMIN
account is created inside the database
when the Autonomous Database is provisioned and already has all the necessary
permissions for both Extract and Replicat processes. This account is locked. It must
be unlocked before it can be used with Oracle GoldenGate. This account is the same
account used for both Extracts and Replicats in the Autonomous Database.
Note:
Run the ALTER USER
command to unlock the
ggadmin
user and set the password for it. See Creating Users with Autonomous Database with
Client-Side Tools.
This ALTER USER
command must be run by the
admin
account user for Autonomous Databases.
ALTER USER ggadmin IDENTIFIED BY PASSWORD ACCOUNT UNLOCK;
Configure Oracle Autonomous Database for Oracle GoldenGate Extract
-
Oracle Autonomous Database environment is provisioned and running.
-
Autonomous Database-level supplemental logging should be enabled by the
ADMIN
orGGADMIN
.
Configuring Autonomous Database Supplemental Logging for Extract
GGADMIN
or
ADMIN
account and execute the following commands:ALTER PLUGGABLE DATABASE ADD SUPPLEMENTAL LOG DATA;
DROP
Autonomous Database-level supplemental logging
incase you decide to stop capturing from that database
instance:ALTER PLUGGABLE DATABASE DROP SUPPLEMENTAL
LOG DATA;
SELECT MINIMAL FROM dba_supplemental_logging;
MINIMAL
-------
YES
The MINIMAL
column will be YES
if supplemental
logging has been correctly set for this Autonomous Database instance.