Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb 删除数据问题
[TiDB Usage Environment] Production Environment
[TiDB Version]
v4.0.14
[Reproduction Path] What operations were performed when the issue occurred
Under stable load conditions, data from the previous day is deleted every early morning, but the data volume does not seem to decrease by 50%.
[Encountered Issue: Issue Phenomenon and Impact]
The business traffic is average, currently only storing two days of data. The data table is partitioned by date, and the partition for the previous day is deleted at 12:30 AM every day. The daily data volume is 1.5T. The GC life time is 12H, and there are 5 kv.
Why doesn’t the change amount reach 50%?
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]