Error Prompt When Dumping Data

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

Original topic: dump数据提示错误

| username: simple-hx

When dumping data, this error is prompted. How can I solve it?
Although the data volume is large, I am only exporting a specific table with very little data. It shouldn’t be like this, right?

| username: hey-hoho | Original post link

The export time is too long, and the data is being cleaned up by GC. Extend the GC time a bit:
set global tidb_gc_life_time=‘12h0m0s’;

After the export is complete, revert it to the previous value.

| username: alfred | Original post link

Before exporting a large amount of data, you need to set the global tidb_gc_life_time to avoid outdated snapshots.

| username: system | Original post link

This topic will be automatically closed 60 days after the last reply. No new replies are allowed.