goldengate 认证矩阵matrix
http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html[@more@]
How to Check ASM Login for Oracle Goldengate (OGG) ? [ID 1311784.1]
GoalHow to check ASM login for Oracle Goldengate (OGG) ?SolutionIf ASM is in use, OGG must be able to connect to the ASM server via listener. The connection can be tested in the following (and other) manners: sqlplus sys/pwd@ASM1. Use the following statement to connect locally to an ASM instance using operating system authentication:sqlplus / AS SYSASM Use the following statement to connect locally using password authentication:sqlplus SYS AS SYSASMIf that connection test to the ASM server with
Checking for Oracle archive log corruption [ID 1268590.1]
日志挖掘可以验证归档日志是否损坏。GoalEXTRACT is hung reading an archive log. OGG trace and o/s truss outputs show EXTRACT repeatedly accessing the next archive log but not progressing or generating an error. How can I verify that the log is not corrupted?SolutionTry processing that archive log using logminer and see if logminer can access the file header info:SQL> execdbms_logmnr.add_logfile('<path>/<arch file name>.arc');SQL> exec dbms_logmnr.start_logmnr;SQL> select count
【原创】警告:实施goldengate之前源库务必要做的--此点在gg文档里没有提到
源库一定要是force logging模式。可以从select force_logging from v$database 中看到。注意:force logging 和supplemental是两回事,这两个不是同一个东西。[@more@]
【原创】goldengate 目的端rep复制进程 遇到ora-00001 异常终止abend的血案
环境介绍:goldengate 目的端rep复制进程 遇到ora-00001 异常终止abend的血案源头oracle,1个extract进程,该的进程参数文件配置的是user.*源头oracle,2个进datapump进程(这是往2个不同目的端上的dp进程),第一个dp进程的参数文件配user.*第二个进程(以下简称dpww进程)的参数文件配置的是user.a; user.b;user.c;user.d;,也就是说,dpww进程是完成了部分表传输到目的地的trail文件中。目的端repww进程abended,看discard文件,如下所示: Current time: 2012-01-07 09:10:58Discarded record from action ABEND on error 1OCI Error
[原创]总结:实施goldengate director的步骤
实施goldengate director的步骤:前期准备:单独一台pc机器(假设此机器ip为192.168.0.11),此机器装什么os,随意,只是weblogic和 oracle 10.2.0.1 db 和 director server software 的介质对应的os要和该os一致此机器上装weblogic 11g R1 (10.3.1) 和oracle 10.2.0.1 db 和 director server software实施步骤:1.安装weblogic weblogic 11g R1 (10.3.1),不建立domain.domain是 director server software 安装时自动部署的。2.安装oracle 10.2.0.1 db3.sqlplus 下建立用户sql> create user goldengate identified by a123456789;
Oracle GoldenGate Best Practice - Testing Maximum Performance of Disks in UNIX [ID 1356855.1]
Oracle GoldenGate Best Practice - Testing Maximum Performance of Disks in UNIX [ID 1356855.1][@more@]
goldengate 支持抽取源库上裸设备形成存放的redo log
Oracle GoldenGate Supports Reading Redo And Archive Log files Stored On Raw Devices With Source Database On AIX OS And Also Requires TRANLOGOPTIONS RAWDEVICEOFFSET Parameter [ID 1269855.1][@more@]
Best Practices for failover during server failures [ID 1323472.1]
Applies to: Oracle GoldenGate - Version: 10.0.0.0 to 11.1.1.0.0 - Release: 10.0.0 to 11.1.1Information in this document applies to any platform. Goal This document attempts to explain the following high availability scenario and provides best practice suggestions: Simplified scenario: Machine A is primary, B is standby and C is replicated via GoldenGate to A. -Extract process run on C -Datapump process run on C -Replicat process run on A
goldengate director 对应的startweblogic.cmd无法正常启动
windows 2003 32bit 下 goldengate director 对应的startweblogic.cmd无法正常启动。现象是点击 startweblogic.cmd 黑色窗口一闪而过, 在cmd界面下,到startweblogic.cmd所在路径下,然后敲入startweblogic.cmd 回车,之后,黑色窗口也是一闪而过。最后的原因找到了:此台机器装了监控软件,具体我也不知道是干啥的,反正卸载了此软件,startweblogic.cmd就好用了。。。[@more@]
goldengate对oracle临时表的同步
先补充一下oracle临时表的知识:创建oracle临时表,可以有两种类型的临时表:会话级的临时表和事务级的临时表。1)会话级的临时表因为这这个临时表中的数据和你的当前会话有关系,当你当前session不退出的情况下,临时表中的数据就还存在,而当你退出当前session的时候,临时表中的数据就全部没有了,当然这个时候你如果以另外一个session登陆的时候是看不到另外一个session中插入到临时表中的数据的。即两个不同的session所插入的数据是互不相干的。当某一个session退出之后临时表中的数据就被截断(truncate table,即数据清空)了。会话
goldengate 捕捉oracle archive redo log 生成自有格式的trail文件的大小记录
8:30到12:00,因前台业务,oracle切了6次归档(非人工发布alter system switch logfile),每个归档日志300M,一共是1.8G,而在此时间段内,传到目的地的trail文件有90个,每个10M,共900m,这样算下来,大概是1/2的关系。[@more@]
goldengate 11g patch set 1的新特性
请见官方文档中的Release Notes 中new feature部分。[@more@]
goldengate 目的端replicat进程 运行缓慢的问题
goldengate 目的端replicat进程 运行缓慢的问题现实中的时间已经过了1个小时了,但是去看goldengate的replicat 检查点(info replicat 进程名)却向前移动了不到1分钟。解决步骤:1.ps -ef |grep /u02/ggs获得 replicat 进程的进程id, 假设查询出来的进程id为123452. ps -ef | grep 12345,获得goldengate 执行复制的进程的进程id(主要是看beq连接),假如此进程的id是120003.使用语句查询出12000的进程,正在做什么。。使用sql查询出正在执行的sqlSELECT sql_text FROM v$sqltext a WHERE a.hash_value = (SELECT sql_hash_value FROM
goldengate trail文件内容查看工具logdump
logdump--help查询open ./dirdat/aa000000ghdr ondetail ondetail datafilter string 'abc'n[@more@]
登录不了goldengate monitor 的ie界面
登录goldengate monitor 时提示:HTTP Status 404 - /monitor/type Status reportmessage /monitor/description The requested resource (/monitor/) is not available.Apache Tomcat/6.0.16原因:没有启动存储goldengate monitor信息的oracle 10g数据库解决方法:1.启动该数据库2.重启oracle goldengate monitor 服务。[@more@]
goldengate版本及官方文档下载地址
http://www.oracle.com/technetwork/middleware/goldengate/documentation/index.htmlgoldengate 已经推出Oracle GoldenGate 11g Release 1 Patch Set 1 (11.1.1.1)了,看来patch set推出的很及时。。。注意:Oracle GoldenGate 11g Release 1是11.1.1 Oracle GoldenGate 11g Release 1 Patch Set 1 是11.1.1.1 [@more@]
goldengate同步中文表名列名的测试
注意:1.scott.TESTTAB 是table,此表的表结构跟scott.测试表1一致,只是scott.testtab表不含有中文列,不含有中文表名。2.ALTID 58716; 后边的数字是scott.测试表1的object_id3.scott2.testv 是view,此视图的视图结构跟scott2.测试表1一致,只是scott2.testv中不含有中文列,不含有中文表名。ext的参数文件:extract scottextsetenv ( ORACLE_SID = LEI )setenv ( NLS_LANG = "AMERICAN_AMERICA.ZHS16GBK" )tranlogoptions asmuser sys@ASM, asmpassword aaaaaauserid LC0049999@lei, password aaaaaaddl include objname &qu
Supported OGG Monitor versions prior to 11.1.1.1.1 [ID 1361236.1]
GoalThe Monitor Admin Guide and Release notes state that Monitor can only be used with Oracle GoldenGate release 11.1.1.1.1 and later.But we see that OGG v11.1.1.1.0 has the required agent and seem to work with Monitor. Is this supported?SolutionThe OGG Monitor agent was provided with OGG v11.1.1.1.0. But the agent was found to have issues so only OGG v11.1.1.1.1 and later are currently supported with Monitor.[@more@]
OGG Director status reporting [ID 1345697.1]
Applies to: Management Pack for Oracle GoldenGate - Version: 2.0.0.0 and later [Release: 2.0 and later ]Information in this document applies to any platform.GoalHow do we enable reporting for GoldenGate Director, so that the reports can be published to the teams?SolutionOGG Director has no functionality to generate reports. Director does keep the current status of each monitored OGG process in the repository. You can query the Director repository to get the current status of processes monitor