Comments (8)
对 TiDB 集群做跨机房部署即可,pd会对副本的分布做调度。但是需要至少部署三个机房。
from docs-cn.
为什么至少要三个机房?机房之间的时延要求要很高了?
from docs-cn.
raft 要求有大于一半的副本存活,所以如果部署两个机房,某一个机房挂了,那么就会破坏这个限制。如果是三机房一个挂了,另外两个还能提供服务。
from docs-cn.
那如果两个机房节点数目不一样,主机房节点数目多,比如6个,异地机房3个节点,那么异地机房挂了,就不会受影响?
from docs-cn.
两机房场景 并不能用raft来容灾 你这个场景挂了主机房 就不能提供服务了
from docs-cn.
嗯,而且受限于网络,(网络不可控的因素太多),这个多机房加入集群的方案貌似行不通:(
上面的那个场景,应该能有数据级别的备份吧?
from docs-cn.
可以定期全量dump数据,也可以通过binlog将tidb的增量数据持续的同步到其他的tidb集群或者mysql,我们目前有binlog同步工具。
from docs-cn.
嗯,明白了
from docs-cn.
Related Issues (20)
- versioning: 优化建议
- How to configure read-write separation?
- 表示 GROUP_CONCAT() 函数中,项目的最大缓冲区大小。 HOT 2
- 按照文档操作,使用tidb-cdc的增量同步的时候,会出现Error: [CDC:ErrMetaListDatabases] HOT 1
- 这个edit-config前可以添加一个备份当前配置的步骤么? HOT 1
- HAProxy
- HAProxy建立连接失败
- HAPROXY建连失败 HOT 2
- Inconsistency with the English doc: txn-local-latches HOT 2
- 在解决写偏斜问题的Golang版本的案例代码出错
- tidb-jdbc驱动版本错误 HOT 2
- 文档链接 404
- DDL的执行方式(并行或者串行)描述不准确 HOT 1
- token-limit 配置项最大值不合理 HOT 3
- Fast ddl和pitr不兼容描述不太准确 HOT 2
- 那么Index Join与Index Hash Join的区别是? HOT 1
- 关于日志示例问题的疑惑 HOT 4
- 该页面内容不适用于 8.1 版本,需要更新 HOT 1
- ticdc-open-protocol 的 h 标识如何理解 HOT 1
- TiProxy 部署信息,tiproxy的服务器个数 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-cn.