Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightning analyze table parameter change to avoid tidb OOM #27391

Closed
fubinzh opened this issue Aug 19, 2021 · 1 comment
Closed

lightning analyze table parameter change to avoid tidb OOM #27391

fubinzh opened this issue Aug 19, 2021 · 1 comment
Assignees
Labels
component/lightning This issue is related to Lightning of TiDB. severity/critical sig/migrate type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Aug 19, 2021

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

@fubinzh fubinzh added type/bug The issue is confirmed as a bug. component/lightning This issue is related to Lightning of TiDB. sig/migrate severity/critical labels Aug 19, 2021
@jebter jebter closed this as completed Aug 25, 2021
@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/lightning This issue is related to Lightning of TiDB. severity/critical sig/migrate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants