Академический Документы
Профессиональный Документы
Культура Документы
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
Finite:/u001/app/oracle/product/11.2.0.2/db_1:N
Polaris:/u001/app/oracle/product/11.2.0.2/db_1:N
SQL> startup
ORACLE instance started.
Total System Global Area 835104768 bytes
Fixed Size 2231088 bytes
Variable Size 520094928 bytes
Database Buffers 310378496 bytes
Redo Buffers 2400256 bytes
Database mounted.
Database opened.
SQL> CREATE TABLESPACE GG_DATA DATAFILE '/u002/oradata/Polaris/ggdata01.dbf'
Tablespace created.
User created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
System altered.
System altered.
System altered.
Database closed.
Database dismounted.
Database mounted.
SQL> ALTER DATABASE ARCHIVELOG;
Database altered.
Database altered.
Database altered.
FROM DBA_LOG_GROUPS
WHERE OWNER='SCOTT';
no rows selected
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
MANAGER STOPPED
Manager started.
MANAGER RUNNING
PORT 7809
checkpointtable source.vcheckpointtable
GGSCI (Finite.localdomain) 8> dblogin userid source, password source
ERROR: Unable to connect to database using user source. Please check privileges.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory.
SET SUBDIRS ON
SET DEBUG OFF
Editor: vi
checkpointtable source.vcheckpointtable
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
no rows selected
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (Finite.localdomain) 1> dblogin userid source@polaris, password source
Successfully logged into database.
checkpointtable source@polaris.vercheckpointtable
SQL> /
2017-03-06 20:56:48 WARNING OGG-00869 No unique key is defined for table 'BONUS'. All viable columns
will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the
key.
2017-03-06 20:56:48 WARNING OGG-00706 Failed to add supplemental log group on table SCOTT.BONUS due to
ORA-01031: insufficient privileges SQL ALTER TABLE "SCOTT"."BONUS" ADD SUPPLEMENTAL LOG GROUP
"GGS_73203" ("ENAME","JOB","SAL","COMM") ALWAYS /* GOLDENGATE_DDL_REPLICATION */.
2017-03-06 20:56:48 WARNING OGG-00706 Failed to add supplemental log group on table SCOTT.DEPT due to
ORA-01031: insufficient privileges SQL ALTER TABLE "SCOTT"."DEPT" ADD SUPPLEMENTAL LOG GROUP
"GGS_73199" ("DEPTNO") ALWAYS /* GOLDENGATE_DDL_REPLICATION */.
2017-03-06 20:56:48 WARNING OGG-00706 Failed to add supplemental log group on table SCOTT.EMP due to
ORA-01031: insufficient privileges SQL ALTER TABLE "SCOTT"."EMP" ADD SUPPLEMENTAL LOG GROUP "GGS_73201"
("EMPNO") ALWAYS /* GOLDENGATE_DDL_REPLICATION */.
2017-03-06 20:56:48 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.
2017-03-06 20:56:48 WARNING OGG-00706 Failed to add supplemental log group on table SCOTT.SALGRADE due
to ORA-01031: insufficient privileges SQL ALTER TABLE "SCOTT"."SALGRADE" ADD SUPPLEMENTAL LOG GROUP
"GGS_73204" ("GRADE","LOSAL","HISAL") ALWAYS /* GOLDENGATE_DDL_REPLICATION */.
Grant succeeded.
GGSCI (Finite.localdomain) 8> ADD TRANDATA SCOTT. *
2017-03-06 21:01:42 WARNING OGG-00869 No unique key is defined for table 'BONUS'. All viable columns
will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the
key.
Logging of supplemental redo data enabled for table SCOTT.BONUS.
2017-03-06 21:01:42 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.
Logging of supplemental redo data enabled for table SCOTT.SALGRADE.
MANAGER RUNNING
MANAGER RUNNING
EXTRACT STOPPED EXTPOVE 00:00:00 00:00:09
MANAGER RUNNING
EXTRACT RUNNING EXTPOVE 00:00:00 00:08:36
MANAGER RUNNING
EXTRACT RUNNING EXTPOVE 00:00:00 00:00:01
checkpointtable source@polaris.vercheckpointtable
MANAGER RUNNING
EXTRACT RUNNING EXTPOVE 00:00:00 00:00:07
=================================================================
GGSCI (Finite.localdomain) 35> ADD EXTRACT elipove, SOURCEISTABLE
EXTRACT added.
EXTRACT elipove
SETENV (ORACLE_SID="POLARIS")
SETENV (ORACLE_HOME="/u001/app/oracle/product/11.2.0.2/db_1")
SETENV (NLS_LANG="AMERICAN_AMERICA.AL32UTF8")
USERID source@POLARIS, PASSWORD source
RMTHOST OLE564.localdomain, MGRPORT 7809
RMTTASK REPLICAT,GROUP rilpove
TABLE scott.dept;
TABLE scott.emp;
MANAGER RUNNING
EXTRACT RUNNING EXTPOVE 00:00:00 00:00:03