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 oom when importing wide table on default config #43853

Closed
Tracked by #43740
D3Hunter opened this issue May 16, 2023 · 0 comments · Fixed by #43870
Closed
Tracked by #43740

lightning oom when importing wide table on default config #43853

D3Hunter opened this issue May 16, 2023 · 0 comments · Fixed by #43870
Labels
component/lightning This issue is related to Lightning of TiDB. severity/moderate type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@D3Hunter
Copy link
Contributor

D3Hunter commented May 16, 2023

if the table is wide, say 100k per kv, when writing to tikv using default config, lightning might oom.

current workaround is to use a smaller send-kv-pairs, but we should add a limit in bytes.

img_v2_0036b1dc-e2f2-4643-ba23-68609800cb4g

@D3Hunter D3Hunter added component/lightning This issue is related to Lightning of TiDB. type/bug The issue is confirmed as a bug. severity/moderate type/feature-request Categorizes issue or PR as related to a new feature. and removed type/bug The issue is confirmed as a bug. labels May 16, 2023
@lance6716 lance6716 added affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. labels May 16, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 18, 2023
ti-chi-bot pushed a commit to ti-chi-bot/tidb that referenced this issue May 18, 2023
@D3Hunter D3Hunter removed affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. labels Jun 7, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jun 7, 2023
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/moderate type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants