启动关闭使用start和stop ggsci命令,查看状态使用info和status命令,查看统计信息使用stats命令,注意查看discard文件和其他日志文件(比如goldengate安装目录下的ggserror.log和源端user_dump_dest下的ggs_ddl_trace.log)这里不再赘述
错误:
OGG-00052 Oracle GoldenGate Delivery for Oracle, dyrep.prm: No replication maps specified.
replicat配置文件中必须指定map , target参数
OGG-00212 Oracle GoldenGate Delivery for Oracle, dyrep.prm: Invalid option for MAP:xxx
replicat参数中map子句语法不正确(,/等符号前加上空格)
OGG-00259 Oracle GoldenGate Delivery for Oracle, dyrep.prm: Schema name cannot be wildcarded.
replicat参数的map ,target参数中,schema不能使用通配符
dblogin登录失败:
dblogin userid goldengate,password goldengate报错 ERROR: Failed to open data source for user GOLDENGATE
以sys、system或其它具有DBA权限的用户可以使用dblogin登录,然后再登录goldengate能成功.
解决办法:授予goldengate用户select any dictionary权限
警告:
OGG-00869 Oracle GoldenGate Command Interpreter for Oracle: No unique key is defined for table xxx. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
xxx表没有唯一键,若数据库中不能对表添加主键或唯一约束,可以使用goldengate的KEYCOLS参数指定能准确标识行的列。否则该表的所有字段都将被保存到redo中用以标识更改的行。
OGG-01756 Oracle GoldenGate Command Interpreter for Oracle: Cannot register EXTRACT DYEXT with database because of the following SQL error: OCI Error ORA-06550: line 1, column 3128: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line 1, column 3117: PL/SQL: SQL Statement ignored (status = 0). See Extract user privileges in the Oracle GoldenGate for Oracle Installation and Setup Guide. You can manually register this group with the REGISTER EXTRACT command.
处理方法请见“数据库方面的准备”中的“创建goldengate数据库用户”后半段
GoldenGate配置实例:RHEL 4.7下的Oracle 10g RAC到单实例的单向同步(一)
http://blog.csdn.net/wildwave/article/details/7053768
GoldenGate配置实例:RHEL 4.7下的Oracle 10g RAC到单实例的单向同步(二)
http://blog.csdn.net/wildwave/article/details/7056362
GoldenGate配置实例:RHEL 4.7下的Oracle 10g RAC到单实例的单向同步(三)
http://blog.csdn.net/wildwave/article/details/7056451
GoldenGate配置实例:RHEL 4.7下的Oracle 10g RAC到单实例的单向同步(四)
http://blog.csdn.net/wildwave/article/details/7056500