oracle ogg常用指令,oracle goldengate日常管理命令

Oracle GoldenGate的常用命令 (详细的请见gg的官方文档)

1.skip

start ext1 SKIPTRANSACTION

2.查看trail

info exttrail *

3.查看oracle thread和gg thread的对应关系

select distinct(thread#) from V$log;

info extract ext1 ,showch

4.查看extract的lag (info all 中lag一列是unknow时用)

send ext1 getlag

5.查看帮助

help, help add exttrail

6.显示当前的GoldenGate环境信息

show

7.查看运行状态

info all, info mgr, info extract ext1

8.启动和停止服务

start mgr,stop mgr

start extract ext1,stop extract ext1

start replicat rep1,stop replicat rep1

如果不能停止的话,

killi extract ext1

9.历史命令

history

10.查看、修改参数文件

view params

edit params

11.参数文件存放的目录

Storing parameter files

12.参数的使用规则和注释

---注释

13.参数文件内的语法

[, ] [&]

14.查看报告

view report ext1

15.查看操作的统计信息

STATS {EXTRACT | REPLICAT}

stats er*

16.info er*

17.查看GoldenGate的错误日志内容

VIEW GGSEVT Contents

18. Deleting a process group

delete ext1

19.清除extract内容

stop EXT1

CLEANUP EXTRACT EXT1

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值