Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binlog_loader_ubox同步很慢 #109

Open
pan20060802 opened this issue Oct 22, 2018 · 3 comments
Open

binlog_loader_ubox同步很慢 #109

pan20060802 opened this issue Oct 22, 2018 · 3 comments

Comments

@pan20060802
Copy link

我从中转库同步到 gp,发现延迟越来越大,请问如何提高这方面性能?

库里面的bin_data 表读取表id没有问题,binlog_miner抓取过去了.

@pan20060802
Copy link
Author

binlog_loader 这个程序很慢

@pan20060802
Copy link
Author

发现是 我们的服务器上 中转库的问题,把 中转gp 上 28g(源mysql读写量还比较大)的表删除后,用默认的 load_batch = 10
load_batch_gap = 10 就同步很正常.负载也不会高.
但 由于同步量很大,难道要每隔一段时间 就去手动清理下 中转gp上的表?

@wjzeng
Copy link
Member

wjzeng commented Jun 15, 2020

增加增量数据同步吞吐的方法就是提高每一批处理的数据量,
然后减少频率,一次处理更多的数据。
如果表很多,则建议降低频率。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants