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

[Enhancement] Optimize memory usage of primary key table large load #9344

Closed
decster opened this issue Jul 29, 2022 · 0 comments · Fixed by #12068
Closed

[Enhancement] Optimize memory usage of primary key table large load #9344

decster opened this issue Jul 29, 2022 · 0 comments · Fixed by #12068
Labels
type/enhancement Make an enhancement to StarRocks

Comments

@decster
Copy link
Contributor

decster commented Jul 29, 2022

Enhancement

Currently, RowsetUpdateState::load will preload all segments primary keys into memory, if the load(rowset) is very large, it will use a lot of memory during commit or apply phrase.
For large load(rowset), we should not preload all segments' primary keys and process segment by segment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Make an enhancement to StarRocks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant