Will GC anomalies cause the cluster to respond slowly?

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

Original topic: GC异常会导致集群响应变慢么?

| username: Kongdom

[TiDB Usage Environment] Production environment
[TiDB Version] v4.0.16
[Encountered Problem: Phenomenon and Impact]
While investigating GC monitoring, it was found that the GC chart showed anomalies around 19:00. Is it possible to determine that GC caused the overall cluster response to slow down?
However, the site feedback indicated that no large data inserts or deletions were performed.
[Attachment: Screenshot/Log/Monitoring]

| username: tomsence | Original post link

GC will have some impact on overall performance. Check the configuration of the tikv_gc_life_time and tikv_gc_run_interval parameters. GC 配置 | PingCAP 归档文档站

| username: Kongdom | Original post link

It looks normal now.

| username: Minorli-PingCAP | Original post link

It should be noted that GC is an operation involving IO, and in an IO-limited environment, it can affect performance. It is generally recommended to extend the GC time to periods when the system is idle.

| username: Kongdom | Original post link

However, during the time when the cluster response is slow, IO is very low, CPU is also very low, and only the network traffic is relatively high. Do you have any troubleshooting ideas?

| username: Kongdom | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.