TiDB的配置文件中添加或修改以下参数: [oom] path = “/path/to/your/oom/directory”
[tmp] path = “/path/to/your/tmp/directory”