Is there a limit on the number of nodes and data volume in TiDB?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 请教下 TiDB 有节点数限制吗,数据量限制 ?

| username: wangbincmss

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.

| username: wuxiangdong | Original post link

No restrictions

| username: 啦啦啦啦啦 | Original post link

Refer to this:

| username: wisdom | Original post link

It seems that there is no limit, but it also depends on which node you are referring to.

| username: wangbincmss | Original post link

TiKV data node data volume

| username: HACK | Original post link

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.

| username: xiaohetao | Original post link

There shouldn’t be.

| username: gary | Original post link

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:

| username: alfred | Original post link

“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?

| username: kooooooooo | Original post link

There should be no limit on the number of TiDB nodes, but if the load exceeds what PD can handle, performance will actually decrease.

| username: xiaohetao | Original post link

:+1::+1::+1:

| username: alfred | Original post link

As the brain, PD needs to ensure good performance.

| username: HACK | Original post link

I agree with this viewpoint.