Creating subdirectories under current directory /opt/local/ggs
Parameter files /opt/local/ggs/dirprm: already exists
Report files /opt/local/ggs/dirrpt: created
Checkpoint files /opt/local/ggs/dirchk: created
Process status files /opt/local/ggs/dirpcs: created
SQL script files /opt/local/ggs/dirsql: created
Database definitions files /opt/local/ggs/dirdef: created
Extract data files /opt/local/ggs/dirdat: created
Temporary files /opt/local/ggs/dirtmp: created
Credential store files /opt/local/ggs/dircrd: created
Masterkey wallet files /opt/local/ggs/dirwlt: created
Dump files /opt/local/ggs/dirdmp: created
MariaDB [(none)]> create table test (id int,name char(10)) engine=innodb;
目标端:Oracle 库配置:
--------------------------------------------------------------------------------
SQL> alter system set enable_goldengate_replication=true;
SQL> create user test identified by test ;
User created.
SQL> grant connect,resource to test;
Grant succeeded.
SQL> conn test/test
Connected.
SQL> create table test (id int,name varchar2(10));
-------------------------------------------------------------------------------------------
***********************************************************************
Oracle GoldenGate Table Definition Generator for MySQL
Version 12.1.2.1.0 OGGCORE_12.1.2.1.0_PLATFORMS_140920.0203
Linux, x64, 64bit (optimized), MySQL Enterprise on Sep 20 2014 04:32:20
Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
Starting at 2015-11-02 17:28:05
***********************************************************************
Operating System Version:
Linux
Version #1 SMP Mon Jun 30 12:09:22 UTC 2014, Release 3.10.0-123.el7.x86_64
Node: mysql
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 1790
***********************************************************************
** Running with the following parameters **
***********************************************************************
defsfile /opt/local/ggs/dirdef/defgen.prm
sourcedb moxian@localhost:3306, userid root,password *******
table moxian.test;
Retrieving definition for moxian.test.
Definitions generated for 1 table in /opt/local/ggs/dirdef/defgen.prm.
-------------------------------------------------------------------------------------------