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

这个不算是issue,应该是一个调整,关于分表 #80

Closed
mia0x75 opened this issue Dec 8, 2015 · 1 comment
Closed

这个不算是issue,应该是一个调整,关于分表 #80

mia0x75 opened this issue Dec 8, 2015 · 1 comment

Comments

@mia0x75
Copy link

mia0x75 commented Dec 8, 2015

目前的策略表名一定会被映射成tablename_####,但这个场景并不常见,绝大部分proxy工具也没有这么做,因为数据库的schema也需要维护开销,这样的做法会带给DBA更多的无趣的工作。在一个具体的database中把表名改成这样,我宁愿启动多个instance。

所以希望,
location中的数字是1的时候,使用yaml中配置的tablename,而不增加数字后缀。
或者增加一个选项可以忽略location,直接使用yaml中配置的tablename,而不增加数字后缀。

@flike
Copy link
Owner

flike commented Dec 8, 2015

在你提到的这种需求下,提供表名更合适一些。

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

2 participants