设为首页 加入收藏

TOP

Oracle GoldenGate常用参数详解(九)
2017-09-19 14:34:59 】 浏览:9722
Tags:Oracle GoldenGate 常用 参数 详解
sp;     Executes a stored procedure or query during Extract processing.
                    在extract运行时首先运行一个sql语句。 示例:sqlexec "Alter session set constraints=deferred"


VARWIDTHNCHAR |
NOVARWIDTHNCHAR    Controls whether length information is written to the trail for  NCHAR columns.


(8)报告信息Reporting


CMDTRACE            Displays macro expansion steps in the Extract report file.


LIST | NOLIST      Displays or suppresses the listing of macros in the report file.


REPORT              Schedules a statistical report.
                    定义自动定时报告。REPORT AT 01:59


STATOPTIONS        Specifies information to include in statistical displays.
                    定义每次使用stat时统计数字是否需要重置


REPORTCOUNT        Reports the number of records processed.报告已经处理的纪录条数统计数字。
                    示例:REPORTCOUNT EVERY 30 MINUTES, RATE 
                    --每隔30分钟报告一次从程序开始到现在的抽取进程或者复制进程的事物记录数,并汇报进程的统计信息


TRACE/TRACE2        Shows Extract processing information to assist in revealing processing bottlenecks.
                    打开对GoldenGate进程的跟踪日志,一般用于调试。


WARNLONGTRANS      Defines a long-running transaction and controls the frequency of checking for and reporting them
                    指定对于超过一定时间的长交易可以在ggserr.log里面写入警告信息。例如,每隔30分钟检查一次长交易,对于超过12个小时的进行告警:
                    示例:warnlongtrans 12h, checkintervals 30m
                        WARNLONGTRANS 2h, CHECKINTERVAL 3m  --每隔3分钟检查一下大事务,超过2小时还没结束的进行报告


(9)错误处理Error handling


DDLERROR            Controls error handling for DDL extraction.


DISCARDFILE        Contains records that could not be processed.
                    定义discard文件位置,如果处理中有纪录出错会写入到此文件中。
                    示例1:discardfile /oradata/goldengate/repkj.dsc,append,megabytes 100m
                    示例2:DISCARDFILE ./dirrpt/extya.dsc, APPEND, MEGABYTES 1024 
                    --将执行失败的记录保存在discard file中,该文件位于./dirrpt/extya.dsc,大小为1024MB。 文件中已经包含记录的话,再后面继续追加,不删除之前的记录


(10)协调Tuning


ALLOCFILES          Controls the number of incremental memory structures allocated when the value of  NUMFILES is reached.


BR                  Controls the Bounded Recovery feature of Extract.


CACHEMGR            Controls the virtual memory cache manager.
                    示例:CACHEMGR CACHESIZE 8000MB, CACHEDIRECTORY  /goldengate/temp, CACHEDIRECTORY /goldengate/temp2
               

首页 上一页 6 7 8 9 10 下一页 尾页 9/10/10
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Oracle RMAN 自动恢复 下一篇MySQL ODBC 驱动安装

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目