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

PhxSQL 是否能够避免MySQL 的分库分表工作? #11

Closed
theseusyang opened this issue Sep 2, 2016 · 5 comments
Closed

PhxSQL 是否能够避免MySQL 的分库分表工作? #11

theseusyang opened this issue Sep 2, 2016 · 5 comments
Labels

Comments

@theseusyang
Copy link

从 PhxSQL 的介绍上看, PhxSQL 是 multi-master, 一主多从的架构.那么 来自前端的应用查询可以被路由到多个 master 进行查询操作, 那么是否意味着 PhxSQL 可以避免MySQL 的分库分表工作, 自动进行分库分表了呢?

@theseusyang theseusyang changed the title PhxSQL 是否能够避免MySQL 的分库分表工作. PhxSQL 是否能够避免MySQL 的分库分表工作? Sep 2, 2016
@PopeyeZhong
Copy link

👍

@mariohuang
Copy link
Collaborator

你好,PhxSQL目前专注于MySQL数据从单机扩展到多机并保持一致性上,分库分表暂时并没有在这里实现。但你仍然可以挂载其他分库分表的组件以达到期望的效果。

@theseusyang
Copy link
Author

那么PhxSQL一主多从可以达到多大的规模呢?

@theseusyang
Copy link
Author

theseusyang commented Sep 2, 2016

我以前做过类似 MySQL 的多维分析的 OLAP 平台, 可以线性扩展 DB 的节点.叫做PhoenixDB。 我可以把相关的经验用在 PhxSQL 上.

@mariohuang
Copy link
Collaborator

mariohuang commented Sep 2, 2016

@theseusyang 我们从设计上将PhxSQL的机器节点分成了两种不同的角色,一种是可参与投票的,一种是不可参与投票的(Follower),参与投票的节点个数变多会加大写入的开销,我们建议3-9台即可。而Follower只会单纯的学习数据,作为扩展读能力的备机存在,这种可以按需加入,无限制。在实际生产环境中我们最大的参与投票的集群是5机。

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

No branches or pull requests

5 participants