How to Check Load Balancing Imbalance in TiDB

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

Original topic: 大佬们tidb怎么看负载均衡不均衡

| username: Billmay表妹

How do you check for load imbalance in TiDB?

| username: Billmay表妹 | Original post link

You can check the load balancing status through TiDB Dashboard. TiDB Dashboard is a visual monitoring tool for TiDB that helps you monitor the status, performance, and topology of the TiDB cluster. On the Overview page of the Dashboard, you can see the overall load status of the TiDB cluster, including CPU usage, disk I/O, etc. On the TiDB Details page, you can view the load status of each TiDB node, including QPS, number of connections, CPU usage, etc. If you find load imbalance, you can optimize load balancing by adjusting the topology of the TiDB cluster, adjusting TiDB configuration parameters, and other methods.

| username: liuis | Original post link

Self-questioning and self-answering?

| username: xingzhenxiang | Original post link

Self-directed and self-acted.

| username: TiDBer_pkQ5q1l0 | Original post link

I just look at the number of connections for each TiDB node in Grafana.

| username: 考试没答案 | Original post link

Load balancing cannot be fully achieved even with hardware, and it’s even more of a joke when it comes to software.

| username: 考试没答案 | Original post link

From the current situation, load balancing in any software cannot be fully achieved to a certain extent or fundamentally; it is always relative load balancing.

| username: 孤君888 | Original post link

The simplest way to see TiDB’s connections and requests is that they are balanced.