<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[namu]]></title><description><![CDATA[namu的思过崖]]></description><link>https://blog.youkuaiyun.com/naguang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; naguang]]></copyright><item><title><![CDATA[goldengate ERROR OGG-01172]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/50580837</link><guid>https://blog.youkuaiyun.com/naguang/article/details/50580837</guid><author>naguang</author><pubDate>Mon, 25 Jan 2016 15:55:59 +0800</pubDate><description><![CDATA[goldengate日志报ERROR   OGG-01172，由于dsc文件的大小超过了设置的大小，如果是初始化或是跳过trail 文件，可能就会产生大量的dsc记录

            如果一会又达到了设置的dsc文件大小，可以设置成purge方式，如果：DISCARDFILE ./dirrpt/REP_TEST.DSC,purge,megabytes 100

         ]]></description><category></category></item><item><title><![CDATA[goldengate ERROR   OGG-00446]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8883290</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8883290</guid><author>naguang</author><pubDate>Sat, 04 May 2013 12:27:30 +0800</pubDate><description><![CDATA[goldengate是级联的环境 A-B-C ，A到B是全部的表 ，B到C是部分的表，C 的日志报 ERROR   OGG-00446 PROCESS ABENDING，没有报其他的任何信息，
            B是将所有的表的dump文件传到C，但是C上指定的表，但是B传送到C的pump没有指定表，而是将所有的表的trail 文件都传送到了C，通过logdump 查看相应的卡住的位置，发]]></description><category></category></item><item><title><![CDATA[oracle 提升scn强制打开数据库]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8870592</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8870592</guid><author>naguang</author><pubDate>Tue, 30 Apr 2013 21:15:26 +0800</pubDate><description><![CDATA[由于开发人员强制关闭数据库，导致数据文件不一致，并且采用的是老的备份方式，alter database begin backup的方式，由于以前有备份失败，一直没有end backup，启动数据库时，找很久前的归档，这些归档都已经被删除，无法启动数据库，尝试多种方式无效
           利用*._allow_resetlogs_corruption=true]]></description><category></category></item><item><title><![CDATA[goldengate veridata 数据库表-通过监控软件实现邮件、短信报警]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8842245</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8842245</guid><author>naguang</author><pubDate>Tue, 23 Apr 2013 22:41:31 +0800</pubDate><description><![CDATA[安装veridata后数据库里会创建一些表，这个表记录着比对的时间及结果等
       比如：可以通过groups、group_runs查询组的运行结果，通过查询结果，通过sql语句查询结果，这样就可以使用监控软件（如nagios）实现邮件报警或是短信报警]]></description><category></category></item><item><title><![CDATA[goldengate复制同步单表修复]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8833599</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8833599</guid><author>naguang</author><pubDate>Mon, 22 Apr 2013 11:24:06 +0800</pubDate><description><![CDATA[转自：http://blog.youkuaiyun.com/liqfyiyi/article/details/8627400
 
goldengate–使用filter+@GETENV在线重新初始化指定的table


在oracle-oracle goldengate的复制环境中，有时候会碰到一些紧急的问题一时无法修复，为了避免影响整个复制环境的复制进度，采取跳过错误事务或者跳过特定对象的办法使得]]></description><category></category></item><item><title><![CDATA[Starting nagios:CONFIG ERROR!  Start aborted.  Check your Nagios configuration]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8804185</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8804185</guid><author>naguang</author><pubDate>Mon, 15 Apr 2013 15:29:07 +0800</pubDate><description><![CDATA[转自：http://blog.chinaunix.net/uid-17268883-id-3233849.html
 

今天启动nagios的时候发现如下问题：
Starting nagios:CONFIG ERROR!  Start aborted.  Check your Nagios configuration.
解决办法：
/usr/local/nagios/bin/nagi]]></description><category></category></item><item><title><![CDATA[ORA-17629 ORA-17627 ORA-01031]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8777717</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8777717</guid><author>naguang</author><pubDate>Tue, 09 Apr 2013 14:54:46 +0800</pubDate><description><![CDATA[windows oracle 11g 使用duplicate target database for standby from active database;报错
 
启动 backup 于 03-4月 -13
使用通道 ORA_DISK_1
RMAN-00571: ===========================================================]]></description><category></category></item><item><title><![CDATA[oracle ZHS16GBK 导入AL32UFT8]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8761078</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8761078</guid><author>naguang</author><pubDate>Fri, 05 Apr 2013 13:08:01 +0800</pubDate><description><![CDATA[1.export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"  ---------------指定源端的字符集
            2.先导入表的结构          row=n
           3.修改表结构---------------gbk用2个字节表示汉子 UTF8用3个字节，所以要修改一下字符类型的长度（oracle默认cha]]></description><category></category></item><item><title><![CDATA[goldengate&DSG 目标端更换ip]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8724195</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8724195</guid><author>naguang</author><pubDate>Tue, 26 Mar 2013 22:54:11 +0800</pubDate><description><![CDATA[goldengate目标端修改ip很简单，直接修改pump进程的ip即可，无需其他的操作
        同样的DSG的修改ip，比较麻烦，需要更改host，使用vman修改host与database，并修改了profile，但是sender进程还是无法识别目标端，无奈只能重新全同步，
        很奇怪的问题，重新register，重新全同步后正常
         这方面golden]]></description><category></category></item><item><title><![CDATA[goldengate checkpoint table 丢失后的加载]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8711123</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8711123</guid><author>naguang</author><pubDate>Sat, 23 Mar 2013 21:35:28 +0800</pubDate><description><![CDATA[使用checkpoint table的方式应用数据，如果在数据库里删除了checkpoint table ，重新添加checkpoint table后，默认会寻找第一个trail文件，如果trail 文件被删除，将无法继续加载。如果第一个trail文件没有删除，可以继续应用]]></description><category></category></item><item><title><![CDATA[goldengate trail file 与对应的sql]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8697069</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8697069</guid><author>naguang</author><pubDate>Wed, 20 Mar 2013 16:29:59 +0800</pubDate><description><![CDATA[goldengate的trail文件默认存放的不是sql，是sql执行的记录数对应的条数变更，就是redo的image ，比如源端插入10行，那么trail文件就可以有10个行的操作与其对应
           sql：
           
SQL> insert into t1 select object_id,object_name from dba_objects where r]]></description><category></category></item><item><title><![CDATA[Oracle 行列转换 总结]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8697050</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8697050</guid><author>naguang</author><pubDate>Wed, 20 Mar 2013 16:23:58 +0800</pubDate><description><![CDATA[文章转自： http://blog.youkuaiyun.com/tianlesoftware/article/details/4704858
 

行列转换包括以下六种情况：
　　1. 列转行
　　2. 行转列
　　3. 多列转换成字符串
　　4. 多行转换成字符串
　　5. 字符串转换成多列
　　6. 字符串转换成多行
 
首先声明，有些例子需要如下10g及以后才有的知识：
　　A]]></description><category></category></item><item><title><![CDATA[goldengate OCI Error ORA-01400: cannot insert NULL]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8681056</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8681056</guid><author>naguang</author><pubDate>Sat, 16 Mar 2013 14:10:23 +0800</pubDate><description><![CDATA[goldengate目标端出现 OCI Error ORA-01400: cannot insert NULL 
     我分析可能遇到的一种情况是，目标端开启了HANDLECOLLISIONS ，当源端update一条记录时，目标端没有这条记录，如果更新的是主键，就会转换为insert语句，但是默认只是插入主键，如果更新的非主键列会被抛弃并且不会记录错误到discard
 
   如果更]]></description><category></category></item><item><title><![CDATA[DSG realsync 跳过xf1文件相关对象的操作]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8680996</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8680996</guid><author>naguang</author><pubDate>Sat, 16 Mar 2013 13:56:27 +0800</pubDate><description><![CDATA[dsg 配置是没有指定复制的表，而是用户下所有的表都复制，这样可能会出现源端创建了临时表，而目标端无法创建，导致链路挂起
      在目标端实现xfview 可以删除相关对象操作
     切换到bin 运行 ./xfview -show 1  /dsg/target/rmp/real0/123.xf1>1.txt   
      more 1.txt
         
CHECK]]></description><category></category></item><item><title><![CDATA[ksvcreate: Process(m000) creation failed]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8618589</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8618589</guid><author>naguang</author><pubDate>Wed, 27 Feb 2013 17:27:57 +0800</pubDate><description><![CDATA[oracle alter日志报
    ksvcreate: Process(m000) creation failed
Wed Feb 27 17:16:38 2013
Process m000 died, see its trace file
Wed Feb 27 17:16:38 2013
ksvcreate: Process(m000) creation failed
Wed]]></description><category></category></item><item><title><![CDATA[PL/SQL实战 避免误用]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8606878</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8606878</guid><author>naguang</author><pubDate>Sun, 24 Feb 2013 14:32:38 +0800</pubDate><description><![CDATA[看了PL/SQL实战第一章觉得不错
         http://download.youkuaiyun.com/detail/naguang/5084270]]></description><category></category></item><item><title><![CDATA[GoldenGate SQL error 1403 OGG-01296  Error mapping]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8590884</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8590884</guid><author>naguang</author><pubDate>Tue, 19 Feb 2013 13:56:54 +0800</pubDate><description><![CDATA[goldengate同步经常出现Error mapping，大致有几种情况可能出现Error mapping
           
1).如果是表字段不一致，需要修改表字段，异构数据库还需要重新生成表结构定义文件，再重启进程。
2). 如果是索引不一致，需要重建索引，异构数据库还需要重新生成表结构定义文件，再重启进程。(之前没有关注索引是否一样，以后关注一下索引)
      目标端如果]]></description><category></category></item><item><title><![CDATA[mysql 字段值默认不区分大小写]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8590643</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8590643</guid><author>naguang</author><pubDate>Tue, 19 Feb 2013 12:34:56 +0800</pubDate><description><![CDATA[mysql字段的值默认不区分大小写，如果有主键的表，主键列就不能插入重复的值（大小写不同）
        

CREATE TABLE `t1` (
  `ID` varchar(40) CHARACTER SET utf8 NOT NULL,
  `NAME` varchar(254) CHARACTER SET utf8 NOT NULL,
  PRIMARY KEY (`ID`]]></description><category></category></item><item><title><![CDATA[goldengate ERROR  OGG-01161 Bad column index (21)]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8590330</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8590330</guid><author>naguang</author><pubDate>Tue, 19 Feb 2013 11:06:51 +0800</pubDate><description><![CDATA[goldengate ERROR  OGG-01161 Bad column index (21)
       源端与目标的表结构不一致]]></description><category></category></item><item><title><![CDATA[linux ifconfig droped packets]]></title><link>https://blog.youkuaiyun.com/naguang/article/details/8583095</link><guid>https://blog.youkuaiyun.com/naguang/article/details/8583095</guid><author>naguang</author><pubDate>Sat, 16 Feb 2013 16:06:47 +0800</pubDate><description><![CDATA[DELL  R910 出现丢包现象，升级网卡驱动问题解决，dell的pc server经常会出现驱动原因导致网卡丢包
[root@TEST bin]# ifconfig 
bond0     Link encap:Ethernet  HWaddr D4:AE:52:64:80:C0  
          inet addr:192.168.0.135  Bcast:192.168.0.25]]></description><category></category></item></channel></rss>