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

自动分库分表 #116

Open
gdnyfcuso opened this issue Sep 14, 2017 · 5 comments
Open

自动分库分表 #116

gdnyfcuso opened this issue Sep 14, 2017 · 5 comments

Comments

@gdnyfcuso
Copy link

企业数据很多的时候,查询更新,会很慢。
rafy要是能够在操作数据库的时候自动的实现分库分表的管理,将会解决数据量多,性能不佳的问题!

@zgynhqf
Copy link
Owner

zgynhqf commented Sep 14, 2017

确实如此。可以做一个插件,专门用于实现分库分表。只是目前需求一直不强烈,所以没有实现。

在 Rafy 中,只要不是手写 sql 的查询,都会生成 sqlTree,进而可以对其拦截并分发到不同的库。

@zgynhqf
Copy link
Owner

zgynhqf commented Sep 14, 2017

@tjliuqian
Copy link

SaaS产品后期数据量会很大,需要rafy可以支持数据库的分库分片处理,满足大数据量的查询和存储需求 @zgynhqf 这个需求挺迫切的

@zgynhqf
Copy link
Owner

zgynhqf commented Sep 16, 2017

好的,再提升一下此功能的优先级。

实现者,可以参考一下:
http://www.mycat.io/

@zgynhqf
Copy link
Owner

zgynhqf commented Sep 19, 2017

经讨论,暂缓此功能的优先级。

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

No branches or pull requests

3 participants