Skip to content

Conversation

@airborne12
Copy link
Member

@airborne12 airborne12 commented Oct 18, 2024

Proposed changes

This PR improves the segment iterator by reducing the reserved rows for a column when the row bitmap is smaller than the block row. This optimization aims to enhance memory efficiency and improve performance by reducing unnecessary row allocations.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@airborne12 airborne12 changed the title [Improve](segment iterator) reserve less rows for column when row bit… [Improvement](segment iterator) Optimize column row reservation to reduce overhead Oct 18, 2024
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@airborne12
Copy link
Member Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.47% (9711/25919)
Line Coverage: 28.74% (80642/280617)
Region Coverage: 28.17% (41713/148088)
Branch Coverage: 24.75% (21209/85700)
Coverage Report: http://coverage.selectdb-in.cc/coverage/820e3984e22499a150acfa8a322cfd59cfc815cc_820e3984e22499a150acfa8a322cfd59cfc815cc/report/index.html

@airborne12
Copy link
Member Author

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.47% (9708/25912)
Line Coverage: 28.75% (80651/280523)
Region Coverage: 28.18% (41718/148045)
Branch Coverage: 24.77% (21213/85656)
Coverage Report: http://coverage.selectdb-in.cc/coverage/48b8cd544d27ec4cc4715d0b7631a9a4f7fe57df_48b8cd544d27ec4cc4715d0b7631a9a4f7fe57df/report/index.html

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@airborne12
Copy link
Member Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.45% (9703/25907)
Line Coverage: 28.71% (80547/280527)
Region Coverage: 28.14% (41656/148014)
Branch Coverage: 24.72% (21168/85644)
Coverage Report: http://coverage.selectdb-in.cc/coverage/fb2fc0ee44681e1b5ec219f5009c1c7431dd82c8_fb2fc0ee44681e1b5ec219f5009c1c7431dd82c8/report/index.html

Copy link
Contributor

@zzzxl1993 zzzxl1993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@qidaye qidaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 22, 2024
@airborne12
Copy link
Member Author

run p1

@airborne12
Copy link
Member Author

run cloud_p1

@airborne12 airborne12 merged commit 8653616 into apache:master Oct 22, 2024
@airborne12 airborne12 deleted the improve-perf branch October 22, 2024 10:53
airborne12 added a commit to airborne12/apache-doris that referenced this pull request Oct 24, 2024
…duce overhead (apache#42060)

## Proposed changes

This PR improves the segment iterator by reducing the reserved rows for
a column when the row bitmap is smaller than the block row. This
optimization aims to enhance memory efficiency and improve performance
by reducing unnecessary row allocations.
airborne12 added a commit that referenced this pull request Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants