Professional Documents
Culture Documents
/ggsci
Oracle GoldenGate Command Interpreter for Oracle
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Object: Command:
SUBDIRS CREATE
UNREGISTER
GGSEVT VIEW
MARKER INFO
REPORT VIEW
MININGDBLOGIN
(DDL) DUMPDDL
(Miscellaneous) FC, HELP, HISTORY, INFO ALL, OBEY, SET EDITOR, SHELL,
MANAGER STOPPED
SQL> startup
ORACLE instance started.
Database mounted.
Database opened.
--------- --------------------
--------
NO
--------
YES
MANAGER STOPPED
MANAGER RUNNING
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
2017-03-03 14:59:23 WARNING OGG-00869 No unique key is defined for table 'SALGRADE'. All viable
columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to
define the key.
Columns supplementally logged for table SCOTT.BONUS: ENAME, JOB, SAL, COMM.
MANAGER RUNNING
MANAGER RUNNING
RMTTRAIL added.
Extract: EXTFINOL
Seqno: 0
RBA: 0
EXTRACT extfinol
SETENV (ORACLE_SID="FINITE")
SETENV (ORACLE_HOME="/u001/app/oracle/product/11.2.0.2/db_1")
SETENV (NLS_LANG="AMERICAN_AMERICA.AL32UTF8")
RMTTRAIL ./dirdat/tr
Table scott.emp;
Table scott.dept;
MANAGER RUNNING
MANAGER RUNNING
MANAGER RUNNING
COUNT(*)
----------
14
1 row created.
SQL> /
1 row created.
SQL> commit;
COUNT(*)
----------
16
[oracle@OLE564 dirdat]$ ls -l
total 4
[oracle@OLE564 gg11g]$ cd ~
[oracle@OLE564 ~]$ vi .bash_profile
GG_HOME=/u001/app/gg11g; export GG_HOME
PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH:$GG_HOME; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$GG_HOME;
[oracle@OLE564 ~]$ cd $GG_HOME
[oracle@OLE564 gg11g]$ ls -l| wc -l
83
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
SQL> startup
ORACLE instance started.
Database mounted.
Database opened.
--------- --------------------
checkpointtable target.fcheckpointtable
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Enter password:
Connected to:
FCHECKPOINTTABLE TABLE
FCHECKPOINTTABLE_LOX TABLE
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
MANAGER RUNNING
REPLICAT added.
MANAGER RUNNING
REPLICAT STOPPED REPFINOL 00:00:00 00:00:05
REPLICAT repfinol
SETENV (ORACLE_HOME="/u001/app/oracle/product/11.2.0/db_2")
SETENV (ORACLE_SID="ole564")
SETENV (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
ASSUMETARGETDEFS
NAME
---------
OLE564
Directory created.
Grant succeeded.
MANAGER RUNNING
MANAGER RUNNING
MANAGER RUNNING
Request processed.
Manager stopped.
MANAGER STOPPED
Manager started.
MANAGER RUNNING
MANAGER RUNNING
MANAGER RUNNING
2017-03-03 18:46:55 ERROR OGG-01091 Oracle GoldenGate Delivery for Oracle, repfinol.prm: Unable to
open file "./discard/rep_discard_repfinol.txt" (error 2, No such file or directory).
MANAGER RUNNING
MANAGER RUNNING
MANAGER RUNNING
MANAGER RUNNING
2017-03-03 19:06:02 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI
command (oracle): start repfinol.
2017-03-03 19:06:02 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command
received from GGSCI on host OLE564.localdomain:56384 (START REPLICAT REPFINOL ).
2017-03-03 19:06:02 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT
REPFINOL starting.
2017-03-03 19:06:02 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, repfinol.prm: REPLICAT
REPFINOL starting.
2017-03-03 19:06:02 INFO OGG-03035 Oracle GoldenGate Delivery for Oracle, repfinol.prm: Operating
system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2017-03-03 19:06:02 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, repfinol.prm: Virtual
Memory Facilities for: COM
target directories:
/u001/app/gg11g/dirtmp.
2017-03-03 19:06:02 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, repfinol.prm: REPLICAT
REPFINOL started.
2017-03-03 19:06:04 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, repfinol.prm: OCI Error
ORA-00001: unique constraint (SCOTT.PK_EMP) violated (status = 1). INSERT INTO "SCOTT"."EMP"
("EMPNO","ENAME","JOB","MGR","HIREDATE","SAL","COMM","DEPTNO") VALUES
(:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7).
2017-03-03 19:06:04 WARNING OGG-01004 Oracle GoldenGate Delivery for Oracle, repfinol.prm: Aborted
grouped transaction on 'SCOTT.EMP', Database error 1 (OCI Error ORA-00001: unique constraint
(SCOTT.PK_EMP) violated (status = 1). INSERT INTO "SCOTT"."EMP"
("EMPNO","ENAME","JOB","MGR","HIREDATE","SAL","COMM","DEPTNO") VALUES
(:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7)).
2017-03-03 19:06:04 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, repfinol.prm:
Repositioning to rba 1056 in seqno 0.
2017-03-03 19:06:04 WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, repfinol.prm: SQL error
1 mapping SCOTT.EMP to SCOTT.EMP OCI Error ORA-00001: unique constraint (SCOTT.PK_EMP) violated (status
= 1). INSERT INTO "SCOTT"."EMP" ("EMPNO","ENAME","JOB","MGR","HIREDATE","SAL","COMM","DEPTNO") VALUES
(:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7).
2017-03-03 19:06:04 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, repfinol.prm:
Repositioning to rba 1056 in seqno 0.
2017-03-03 19:06:04 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, repfinol.prm: Error
mapping from SCOTT.EMP to SCOTT.EMP.
2017-03-03 19:06:04 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, repfinol.prm: PROCESS
ABENDING.
MANAGER RUNNING
MANAGER RUNNING
MANAGER RUNNING
COUNT(*)
----------
20
SQL> /
COUNT(*)
----------
23