TiKV
Release Version: 5.0.0-rc.x
Edition: Community
Git Commit Hash: 81c4de98a9a21e4dcf3cce6d7783793b1238044e
Git Commit Branch: limit-write-batch-ingest
UTC Build Time: 2021-02-04 11:43:07
Rust Version: rustc 1.51.0-nightly (1d0d76f8d 2021-01-24)
Enable Features: jemalloc mem-profiling portable sse protobuf-codec test-engines-rocksdb
Profile: release
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error.
I used lightning to restore csv files (tpcc 5000 warehouses).
What did you expect to see?
Restored successfully.
What did you see instead?
Lightning oom. In January, the memory usage of lightning is about 20~30 GB. But now it costs at least 60GB.
Versions of the cluster
TiDB-Lightning version (run
tidb-lightning -V):TiKV-Importer version (run
tikv-importer -V):TiKV version (run
tikv-server -V):TiDB cluster version (execute
SELECT tidb_version();in a MySQL client):Other interesting information (system version, hardware config, etc):
Operation logs
tidb-lightning.logfor TiDB-Lightning if possibletikv-importer.logfrom TiKV-Importer if possibleConfiguration of the cluster and the task
tidb-lightning.tomlfor TiDB-Lightning if possibletikv-importer.tomlfor TiKV-Importer if possibleinventory.iniif deployed by AnsibleScreenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus for TiDB-Lightning if possible
