Set up Extract (ext3) to Capture Changes in Real-time Mode from Online Logs Sent by DBMS3
Perform the following steps on the DBMSCAP downstream mining database:
- Register Extract with the mining database for source database DBMS3.
In the credential store, the alias name of
ggadm3
is linked to a user connect string ofggadm3@dbms3
.The alias name of ggadmcap is linked to a user connect string ofggadmcap@dbmscap
.DBLOGIN USERID ggadm3 MININGDBLOGIN USERID ggadmcap REGISTER EXTRACT ext3 DATABASE
- Create Extract at the mining
database:
ADD EXTRACT ext3 INTEGRATED TRANLOG, BEGIN NOW
- Edit the Extract parameter file
ext3.prm
. In the credential store, the alias name of ggadm3 is linked to a user connect string ofggadm3@dbms3
. The alias name ofggadmcap
is linked to a user connect string ofggadmcap@dbmscap
:USERIDALIAS ggadm3 TRANLOGOPTIONS MININGUSERALIAS ggadmcap TRANLOGOPTIONS INTEGRATEDPARAMS (downstream_real_time_mine N)
- Start Extract:
START EXTRACT ext3
Note:
You can create multiple Extracts running in real-time integrated capture mode in the downstream mining database, as long as they all are capturing data from the same source database, such as all capturing for database DBMS3 in the preceding example.