-
Notifications
You must be signed in to change notification settings - Fork 411
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
feat: do del column clean read optimization for fast mode #5470
feat: do del column clean read optimization for fast mode #5470
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-all-tests |
…yunyan_fast_mode_enable_del_index
…yunyan_fast_mode_enable_del_index
…yunyan_fast_mode_enable_del_index
/run-all-tests |
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
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.
Rest LGTM
/run-all-tests |
/rebuild |
/run-integration-test |
/rebuild |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
/run-integration-test |
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
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
/merge |
@hongyunyan: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: b08aba1
|
@hongyunyan: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
What problem does this PR solve?
Issue Number: ref #5252
Problem Summary:
For the query in fast mode, we always read the del_mark column, and then do filter with del_mark = 1. While for the packs that all rows' del_mark = 0, we don't need to read their del_mark column, and also don't need to do the filter with del_mark. Thus we add these optimization to cut down IO.
Now, some code is just for benchmark test(bench_del_optimization). After the review, I will delete the related codes.
What is changed and how it works?
performance test:
I run the bench_del_optimization benchmark(to compare the performance with/without del optimization to read a dmfile with no delete rows) , the performance is
Besides,I run the dtworkload, and the total performance is almost the same.
Check List
Tests
Side effects
Documentation
Release note