Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: dumpling导出卡住,内存使用高
[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] When exporting data from a table using dumpling, with a data volume of approximately 170 million, TiDB’s memory usage reaches 52GB (80%) and then gets stuck, causing subsequent exports to be very slow.
Is it normal to export 5 million records in half an hour?
We need to check if there are any error logs. At present, it should be an issue with the database itself. Looking forward to an official explanation.
Increasing memory solves it.
Wow. This is such a waste of memory. 185G of memory. If you use the dumpling tool, the memory must keep up.
It shouldn’t be a matter of adding more memory; the memory consumption is too high.
It’s a bit exaggerated to require such a large memory for exporting.