TiKV Disk Full During Data Migration

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

Original topic: 数据迁移的时候,tikv disk full

| username: TiDBer_CQ3lVdeD

[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?

| username: xfworld | Original post link

Deploying on a single machine is a bit inappropriate…

Please refer to the official configuration requirements and set up a cluster environment to experience the features.

| username: h5n1 | Original post link

You can delete it.

| username: Hacker007 | Original post link

The logs can be deleted.

| username: TiDBer_CQ3lVdeD | Original post link

Okay, thank you.

| username: TiDBer_CQ3lVdeD | Original post link

Got it, thanks.

| username: 特雷西-迈克-格雷迪 | Original post link

The logs in this directory are error logs.

| username: TiDBer_CQ3lVdeD | Original post link

Okay, thank you. I will study the TiKV logs later.

| username: system | Original post link

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