-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[opt](memory) reuse tablet schema in load path #58476
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
b17481c to
4876f7a
Compare
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 34123 ms |
TPC-DS: Total hot run time: 184639 ms |
ClickBench: Total hot run time: 27.45 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
e151f88 to
01dc885
Compare
|
run buildall |
TPC-H: Total hot run time: 34624 ms |
TPC-DS: Total hot run time: 182664 ms |
ClickBench: Total hot run time: 28.08 s |
e5cd56f to
7424a3d
Compare
|
run buildall |
TPC-H: Total hot run time: 34424 ms |
TPC-DS: Total hot run time: 179848 ms |
ClickBench: Total hot run time: 27.35 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
7424a3d to
0a2feda
Compare
|
run buildall |
TPC-H: Total hot run time: 34832 ms |
TPC-DS: Total hot run time: 180432 ms |
ClickBench: Total hot run time: 27.59 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
PR approved by anyone and no changes requested. |
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
eldenmoon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
### What problem does this PR solve? #### Background `build_current_tablet_schema` may consume a significant amount of memory when load to a wide table with a large number of buckets: <img width="716" height="718" alt="image" src="https://github.com/user-attachments/assets/0b08c807-39df-4ab5-b7af-5896e1265009" /> #### Solution Reuse tablet schema in load path to save load memory. #### Test Result Machine configuration: 16c 64G 3BE Table Schema: 5000 column, 256 bucket Each Be reduces 1G memory.
### What problem does this PR solve? #### Background `build_current_tablet_schema` may consume a significant amount of memory when load to a wide table with a large number of buckets: <img width="716" height="718" alt="image" src="https://github.com/user-attachments/assets/0b08c807-39df-4ab5-b7af-5896e1265009" /> #### Solution Reuse tablet schema in load path to save load memory. #### Test Result Machine configuration: 16c 64G 3BE Table Schema: 5000 column, 256 bucket Each Be reduces 1G memory.
What problem does this PR solve?
Background
build_current_tablet_schemamay consume a significant amount of memory when load to a wide table with a large number of buckets:Solution
Reuse tablet schema in load path to save load memory.
Test Result
Machine configuration: 16c 64G 3BE
Table Schema: 5000 column, 256 bucket
Each Be reduces 1G memory.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)