lightning analyze table parameter change to avoid tidb OOM #27391
Labels
component/lightning
This issue is related to Lightning of TiDB.
severity/critical
sig/migrate
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
When tidb global.tidb_analyze_version=2 and lightning import 70GB table in TiDB, TiDB might OOM during analyze phase of lightning import.
./tidb-lightning -config /minio/fubin/dbgen/v2data/lightning.toml
2. What did you expect to see? (Required)
lightning import succeed, and TiDB not OOM
3. What did you see instead (Required)
TiDB OOM
4. What is your TiDB version? (Required)
TiDB: 5.2.0
Lightning: 5.2.0
The text was updated successfully, but these errors were encountered: