关于OGG的stats 进程名 reset命令

Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100 
Linux, x86, 32bit (optimized), Oracle 10g on Oct  4 2011 23:54:04

Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.


GGSCI (gg321) 22> stats extqd reset

Sending STATS request to EXTRACT EXTQD ...

Successfully reset statistics.


GGSCI (gg321) 23> stats extqd

Sending STATS request to EXTRACT EXTQD ...

Start of Statistics at 2015-04-18 18:13:03.

Output to /u02/ggs/dirdat/qd:

Extracting from USERA.TABA to USERA.TABA:

*** Total statistics since 2015-04-18 17:38:42 ***
        Total inserts                                0.00
        Total updates                                2.00
        Total befores                                1.00
        Total deletes                                5.00
        Total discards                               0.00
        Total operations                             8.00

*** Daily statistics since 2015-04-18 17:38:42 ***
        Total inserts                                0.00
        Total updates                                2.00
        Total befores                                1.00
        Total deletes                                5.00
        Total discards                               0.00
        Total operations                             8.00

*** Hourly statistics since 2015-04-18 18:00:00 ***

        No database operations have been performed.

*** Latest statistics since 2015-04-18 18:12:46 ***

        No database operations have been performed.

End of Statistics.


GGSCI (gg321) 24> info all

Program     Status      Group       Lag           Time Since Chkpt

MANAGER     RUNNING                                           
EXTRACT     ABENDED     DPORA       00:00:00      21164:45:27 
EXTRACT     RUNNING     DPQD        00:00:00      00:00:02    
EXTRACT     RUNNING     EXTORA      00:00:00      00:00:06    
EXTRACT     RUNNING     EXTQD       00:00:00      00:00:04    


GGSCI (gg321) 25>

----------------中间进行DML操作---------------------------------

GGSCI (gg321) 27> stats extqd

Sending STATS request to EXTRACT EXTQD ...

Start of Statistics at 2015-04-18 18:27:19.

Output to /u02/ggs/dirdat/qd:

Extracting from USERA.TABA to USERA.TABA:

*** Total statistics since 2015-04-18 17:38:42 ***
        Total inserts                                5.00
        Total updates                                3.00
        Total befores                                2.00
        Total deletes                                5.00
        Total discards                               0.00
        Total operations                            15.00

*** Daily statistics since 2015-04-18 17:38:42 ***
        Total inserts                                5.00
        Total updates                                3.00
        Total befores                                2.00
        Total deletes                                5.00
        Total discards                               0.00
        Total operations                            15.00

*** Hourly statistics since 2015-04-18 18:00:00 ***
        Total inserts                                5.00
        Total updates                                1.00
        Total befores                                1.00
        Total deletes                                0.00
        Total discards                               0.00
        Total operations                             7.00

*** Latest statistics since 2015-04-18 18:12:46 ***
        Total inserts                                5.00
        Total updates                                1.00
        Total befores                                1.00
        Total deletes                                0.00
        Total discards                               0.00
        Total operations                             7.00

End of Statistics.


GGSCI (gg321) 28> 
 
说白了,关于OGG的stats 进程名 reset命令 的作用是:reset了Hourly statistics 和  Latest statistics,以便能明确的统计出 reset 之后 ogg捕捉到的DML变化情况。
参考文章:
How To Display Interim Runtime Statistics for OGG Process (Doc ID 1310087.1)
How To Generate Interim Runtime Statistics for OGG Process (Doc ID 1310095.1)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值