Case 3: Capturing from Multiple Sources with Mixed Real-time and Archive-log-only Mode
The following example captures changes from database DBMS1, DBMS2 and
DBMS3 by deploying an Extract at a downstream mining database
DBMSCAP
.
Note:
This example assumes that you created the necessary standby redo log files as shown in Prepare the Downstream Mining Database to Receive Online Redo Logs.It assumes the following users:
-
User
GGADM1
inDBMS1
whose credentials Extract will use to fetch data and metadata from DBMS1. It is assumed that theDBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE()
procedure was called to grant appropriate privileges to this user atDBMS1
. -
User
GGADM2
inDBMS2
whose credentials Extract will use to fetch data and metadata fromDBMS2
. It is assumed that theDBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE()
procedure was called to grant appropriate privileges to this user at DBMS2. - User
GGADM3
inDBMS3
whose credentials Extract will use to fetch data and metadata fromDBMS3
. It is assumed that theDBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE()
procedure was called to grant appropriate privileges to this user atDBMS3
. -
User
GGADMCAP
inDBMSCAP
whose credentials Extract will use to retrieve logical change records from the logmining server at the downstream mining database. It is assumed that theDBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE()
procedure was called to grant appropriate privileges to this user at the downstream mining databaseDBMSCAP
.
This procedure also assumes that the downstream mining database is configured in archive log mode.
In this example, the redo sent by DBMS3
will be mined
in real time mode, whereas the redo data sent from DBMS1
and
DBMS2
will be mined in archive-log-only mode.