Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 数据迁移的时候,tikv disk full
[Test Environment] Testing environment, self-built CentOS 7 virtual machine under VirtualBox, simulating deployment of 3 TiKV nodes on a single machine.
[TiDB Version] TiDB 6.2
[Encountered Problem]
[Reproduction Path]
I manually imported a SQL file of about 10GB into TiDB and later found a “tikv disk full” error;
The 10GB content filled up the 500GB hard drive I set up.
Using du -h /tidb
to check, I found that the log under the path /tidb/tidb-deploy/tikv-20161/log occupies a huge amount of space, 151GB.
[Problem Phenomenon and Impact]
So I want to ask, can the files under this log be deleted? Are these binlogs?