Git Product home page Git Product logo

Comments (8)

shenli avatar shenli commented on August 17, 2024

对 TiDB 集群做跨机房部署即可,pd会对副本的分布做调度。但是需要至少部署三个机房。

from docs-cn.

soniazhai avatar soniazhai commented on August 17, 2024

为什么至少要三个机房?机房之间的时延要求要很高了?

from docs-cn.

shenli avatar shenli commented on August 17, 2024

raft 要求有大于一半的副本存活,所以如果部署两个机房,某一个机房挂了,那么就会破坏这个限制。如果是三机房一个挂了,另外两个还能提供服务。

from docs-cn.

soniazhai avatar soniazhai commented on August 17, 2024

那如果两个机房节点数目不一样,主机房节点数目多,比如6个,异地机房3个节点,那么异地机房挂了,就不会受影响?

from docs-cn.

shenli avatar shenli commented on August 17, 2024

两机房场景 并不能用raft来容灾 你这个场景挂了主机房 就不能提供服务了

from docs-cn.

soniazhai avatar soniazhai commented on August 17, 2024

嗯,而且受限于网络,(网络不可控的因素太多),这个多机房加入集群的方案貌似行不通:(
上面的那个场景,应该能有数据级别的备份吧?

from docs-cn.

shenli avatar shenli commented on August 17, 2024

可以定期全量dump数据,也可以通过binlog将tidb的增量数据持续的同步到其他的tidb集群或者mysql,我们目前有binlog同步工具。

from docs-cn.

soniazhai avatar soniazhai commented on August 17, 2024

嗯,明白了

from docs-cn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.