GG Useful Commands and Checkpoints

本文介绍如何检查复制/抽取进程的读写位置、是否正在恢复,以及是否已处理所有源记录,包括展示检查点详情、启动检查点、恢复检查点和当前检查点等关键步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Viewing extract/replicat's read/write position and whether it's in recovery - must be in running:
send xxx status

Whether or not extract/replicat has processed all the records from the source
send xxx logend

Show checkpoint details
info xxx showch

TRANLOGOPTIONS ASMUSER SYS@<ASM_instance>, ASMPASSWORD <password>
使用ASM管理存储时必须加上该命令。 常规的DBUSER也不能省略。

Startup checkpoints: The first checkpoint that is made in the data source when the process starts.
Recovery checkpoints: The position in the data source of the record containing the oldest transaction not yet processed by Extract.
Current checkpoint: The position of the last record read by Extract in the data source. This should match the Log Read Checkpoint statistic shown in the summary and in the basic INFO EXTRACT command without options.


HANDLECOLLISIONS

replicat的参数文件用到,GG将尝试解决重复/丢失记录的问题。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值