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
總結
以上是生活随笔為你收集整理的oracle ogg常用指令,oracle goldengate日常管理命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: NEXON 游戏《VEILED EXPE
- 下一篇: oracle 日志切换太频繁,关于ora