golden gate 参数 PURGEOLDEXTRACTS

      官方文档上的说明如下:

       PURGEOLDEXTRACTS:Purges trail data that is no longer needed(按规则清除主端或者是备端的不再需要的跟踪文件)
                  
         Using PURGEOLDEXTRACTS  as a Manager parameter is preferred over using the Extract or
         Replicat version of  PURGEOLDEXTRACTS . As a Manager parameter,  PURGEOLDEXTRACTS  allows
         you to manage trail files in a centralized fashion and take into account multiple processes.
         
          Use USECHECKPOINTS  to purge when all processes are finished with a file as indicated by
         checkpoints. This is the default, but it can be turned off with the NOUSECHECKPOINTS 
         option. Basing the purging on  checkpoints ensures that no data is deleted until all
         processes are finished with it.  USECHECKPOINTS is checked whether or not the parameter
         is explicitly defined with  PURGEOLDEXTRACTS , unless there is an explicit
         NOUSECHECKPOINTS  entry. Basing purges on checkpoi nts is essential in a production
         environment to ensure data integrity. USECHECKPOINTS  considers the checkpoints of both
         Extract and Replicat before purging.


         Use the  MINKEEP rules to set a minimum amount of time to keep unmodified data:
         Use MINKEEPHOURS or  MINKEEPDAYS  to keep data for    hours or days.
         Use MINKEEPFILES to keep at least   trail files including the active file. The default
         is 1 .


           Use only one  of the MINKEEP options. If more th an one is used, Oracle GoldenGate selects one of them based on the following:
          If both MINKEEPHOURS and  MINKEEPDAYS  are specified, only the last one is accepted, and the other will be ignored.
          If either MINKEEPHOURS or  MINKEEPDAYS  is used with MINKEEPFILES , then  MINKEEPHOURS  or MINKEEPDAYS  is accepted, and  MINKEEPFILES is ignored.

简译: 使用跟踪文件中的检查点来判断是否要被清除,但是在清除时还有遵循一定的 原则。用MINKEEP 来确定要保留的最小时间。主要作用来防止硬盘空间被无限的使用。

 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23062014/viewspace-742095/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23062014/viewspace-742095/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值