Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 请教下 TiDB 有节点数限制吗,数据量限制 ?
Is there a limit on the number of nodes or data volume in TiDB?
【TiDB Usage Environment】Production, Testing, Research
【TiDB Version】
【Encountered Issues】
【Reproduction Path】What operations were performed that led to the issue
【Issue Phenomenon and Impact】
【Attachments】
Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.
It seems that there is no limit, but it also depends on which node you are referring to.
TiKV data node data volume
Theoretically, it is unlimited, but it won’t keep expanding indefinitely. If you have a lot of regions, the cluster performance should also be affected.
TiDB. TiDB adopts a compute-storage separation architecture, allowing independent scaling of compute and storage. It supports up to 512 compute nodes, with each node supporting up to 1000 concurrent connections, and the cluster capacity can reach PB levels.
For more details, please refer to:
“When some machines fail, the system can automatically switch over to ensure that the RTO <= 30s and RPO = 0.”
If the capacity, disk I/O capability, and PD performance are sufficient, and you add more CPU to the computing nodes, can each node still support a maximum of 1000 concurrent connections? So, to increase concurrency capacity, you can only add more computing nodes?
There should be no limit on the number of TiDB nodes, but if the load exceeds what PD can handle, performance will actually decrease.
As the brain, PD needs to ensure good performance.
I agree with this viewpoint.