The Issue of Oversized TiKV Regions in TiDB Version 5.1.0

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

Original topic: tidb5.1.0版本中的tikv region过大问题。

| username: TiDBer_RQobNXGv

As shown in the above images, with the number of single tables approaching 500 million, the region of TiKV exceeds 8TB. What could be the reason?

| username: h5n1 | Original post link

It might be caused by GC. Based on your version, it seems to be a bug.

| username: DBAER | Original post link

It should be caused by a GC issue.

| username: 呢莫不爱吃鱼 | Original post link

Upgrading is great~ :grinning:

| username: DBAER | Original post link

Check the recent GC time to see if the use of TiCDC is causing the GC to not advance.