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

[Improvement](storage) reuse schema and rowblockv2 on single scanner_thread #11392

Merged
merged 18 commits into from
Aug 24, 2022

Conversation

Userwhite
Copy link
Contributor

@Userwhite Userwhite commented Aug 1, 2022

Proposed changes

Issue Number: close #11391

Problem summary

after change,rowblockv2 is not key

1c16v4BTjY

bUB62Wcjwa

Checklist(Required)

  1. Does it affect the original behavior:
    • Yes
    • No
    • I don't know
  2. Has unit tests been added:
    • Yes
    • No
    • No Need
  3. Has document been added or modified:
    • Yes
    • No
    • No Need
  4. Does it need to update dependencies:
    • Yes
    • No
  5. Are there any changes that cannot be rolled back:
    • Yes (If Yes, please explain WHY)
    • No

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@Userwhite Userwhite changed the title [Improvement] reuse rowblockv2 on single scanner_thread in no-vec [Improvement](storage) reuse rowblockv2 on single scanner_thread in no-vec Aug 1, 2022
be/src/common/config.h Outdated Show resolved Hide resolved
@Userwhite
Copy link
Contributor Author

please review again?@dataroaring. I have fixed. thanks

@Userwhite Userwhite force-pushed the memory_resue_in_no_vec branch 2 times, most recently from bdf3814 to 940a9a7 Compare August 11, 2022 10:55
@Userwhite Userwhite changed the title [Improvement](storage) reuse rowblockv2 on single scanner_thread in no-vec [Improvement](storage) reuse schema and rowblockv2 on single scanner_thread Aug 12, 2022
@Userwhite
Copy link
Contributor Author

@morningman-cmy hello, if have time, review it?

@wangbo wangbo added the area/storage Issues or PRs related to storage engine label Aug 19, 2022
wangbo
wangbo previously approved these changes Aug 22, 2022
Copy link
Contributor

@wangbo wangbo left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dataroaring dataroaring 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 github-actions bot added the approved Indicates a PR has been approved by one committer. label Aug 24, 2022
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@wangbo wangbo merged commit fb3c00c into apache:master Aug 24, 2022
wsjz pushed a commit to wsjz/incubator-doris that referenced this pull request Aug 24, 2022
…thread (apache#11392)

* support reuse rowblockv2 on single thread
Userwhite added a commit to Userwhite/incubator-doris that referenced this pull request Aug 30, 2022
…thread (apache#11392)

* support reuse rowblockv2 on single thread
yiguolei pushed a commit that referenced this pull request Aug 31, 2022
…thread (#11392) (#12178)

* support reuse rowblockv2 on single thread
@yiguolei yiguolei mentioned this pull request Sep 1, 2022
yiguolei pushed a commit that referenced this pull request Sep 5, 2022
…12322)

#11392 made _input_block in each BetaRowsetReaders sharable. However, for some types (e.g. nested array with more than 1 depth), the _column_vector_batches in RowBlockV2 can be nested which means that there is a ColumnVectorBatch inside another ColumnVectorBatch. In this case, the data of inner ColumnVectorBatch
may be corrupted because the data of _input_block is copied shallowly to the _output_block.
Henry2SS pushed a commit to Henry2SS/incubator-doris that referenced this pull request Sep 14, 2022
@yiguolei yiguolei mentioned this pull request Oct 9, 2022
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. area/storage Issues or PRs related to storage engine area/vectorization dev/merge-1.1.2 reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] create too many rowblockv2 in no-vec
4 participants