Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb server OOM
Question: Exporting data using mydumper and importing it into TiDB, the server node’s memory keeps increasing until it OOMs.
Version: 4.0.16
TiDB Server monitoring graph:
I have already imported it serially by table. How should I batch it?
Batching transactions, a super large transaction will definitely lead to OOM…
An insert statement only has 3K rows of data now.
Is each insert executed and committed one by one, or are N inserts executed and then committed?
Is it possible to limit memory usage?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.