goInception icon indicating copy to clipboard operation
goInception copied to clipboard

goInception调用pt执行DDL很慢

Open zmalyxy opened this issue 3 years ago • 1 comments

goInception版本:1.2.4 pt工具手工执行时很快,几百万的表分钟级别完成,同样的表通过archery用goInception调用pt执行时,不知道为啥会一直去连接不存在的IP地址(11.113.169.84),每次执行不同的DDL,IP地址还不相同,然后执行时间可能要好几个小时 image

zmalyxy avatar Jul 29 '22 07:07 zmalyxy

请检查pt工具的执行参数设置(在goinception机器通过ps -aux查找pt进程). 对于连接其他IP的问题, 参数--recursion-method用以设置寻找slave的方式,在找到slave列表后,会逐个连接来获取主从延迟.

hanchuanchuan avatar Jul 30 '22 08:07 hanchuanchuan

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 03:09 stale[bot]