Set up Extract (ext2) to Capture Changes from Archived Logs Sent by DBMS2

Perform the following steps on the DBMSCAP downstream mining database.

  1. Register Extract with the mining database for source database DBMS2. In the credential store, the alias name of ggadm2 is linked to a user connect string of ggadm2@dbms2.The alias name of ggadmcap is linked to a user connect string of ggadmcap@dbmscap.
    GGSCI> DBLOGIN USERIDALIAS ggadm2
    GGSCI> MININGDBLOGIN USERIDALIAS ggadmcap
    GGSCI> REGISTER EXTRACT ext2 DATABASE
    
  2. Create Extract at the mining database.
    GGSCI> ADD EXTRACT ext2 INTEGRATED TRANLOG, BEGIN NOW
    
  3. Edit the Extract parameter file ext2.prm. In the credential store, the alias name of ggadm2 is linked to a user connect string of ggadm2@dbms2.The alias name of ggadmcap is linked to a user connect string of ggadmcap@dbmscap.
    USERIDALIAS ggadm2
    TRANLOGOPTIONS MININGUSERALIAS ggadmcap
    TRANLOGOPTIONS INTEGRATEDPARAMS (downstream_real_time_mine N)
    
  4. Start Extract.
    GGSCI> START EXTRACT ext2