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

不能自动分配读写 #42

Open
lilothar opened this issue Mar 10, 2015 · 4 comments
Open

不能自动分配读写 #42

lilothar opened this issue Mar 10, 2015 · 4 comments

Comments

@lilothar
Copy link

后端两个mysql,一主一从,使用sysbench select测试时,预期应该将请求分配到只读mysql主机上,但是却分配到主库上。

@zhuchao-hit
Copy link

请使用我们wiki上的测试文档里的参数测试,谢谢。

@Billiwmiw
Copy link

https://github.com/Qihoo360/Atlas/wiki/Atlas%E7%9A%84%E6%80%A7%E8%83%BD%E6%B5%8B%E8%AF%95 我也碰到了这个问题, 按照这篇文件进行sysbench select 测试,还是一直走主库,没有分配到从库,是不是还有其它的地方需要设置?

@yuanshi2016
Copy link

我也是,测试的时候select都是在主库,上线之后 结果主服务器都快被拖死了 不知道是什么原因

@WiFeng
Copy link

WiFeng commented Apr 24, 2020

临时解决方案,可参考:#203

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

5 participants