-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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] improve performance of show materialized views statement #54374
Merged
kangkaisen
merged 2 commits into
StarRocks:main
from
murphyatwork:murphy_opt_mv_list_task_runs
Dec 30, 2024
Merged
[Enhancement] improve performance of show materialized views statement #54374
kangkaisen
merged 2 commits into
StarRocks:main
from
murphyatwork:murphy_opt_mv_list_task_runs
Dec 30, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fe/fe-core/src/main/java/com/starrocks/scheduler/history/TaskRunHistory.java
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/scheduler/history/TaskRunHistoryTable.java
Show resolved
Hide resolved
Signed-off-by: Murphy <[email protected]>
ff484b6
to
b309d0c
Compare
satanson
previously approved these changes
Dec 26, 2024
LiShuMing
reviewed
Dec 26, 2024
fe/fe-core/src/main/java/com/starrocks/scheduler/history/TaskRunHistoryTable.java
Show resolved
Hide resolved
LiShuMing
previously approved these changes
Dec 26, 2024
fe/fe-core/src/main/java/com/starrocks/scheduler/history/TaskRunHistoryTable.java
Show resolved
Hide resolved
fe7cd4e
|
LiShuMing
approved these changes
Dec 30, 2024
satanson
approved these changes
Dec 30, 2024
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]❌ fail : 8 / 26 (30.77%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.4 |
@Mergifyio backport branch-3.3 |
✅ Backports have been created
|
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Dec 30, 2024
#54374) Signed-off-by: Murphy <[email protected]> (cherry picked from commit c70eadf)
Merged
18 tasks
mergify bot
pushed a commit
that referenced
this pull request
Dec 30, 2024
#54374) Signed-off-by: Murphy <[email protected]> (cherry picked from commit c70eadf) # Conflicts: # test/sql/test_materialized_view/R/test_show_materialized_view # test/sql/test_materialized_view/T/test_show_materialized_view
Merged
18 tasks
maggie-zhu
pushed a commit
to maggie-zhu/starrocks
that referenced
this pull request
Jan 6, 2025
StarRocks#54374) Signed-off-by: Murphy <[email protected]>
wanpengfei-git
pushed a commit
that referenced
this pull request
Jan 7, 2025
…t (backport #54374) (#54488) Co-authored-by: Murphy <[email protected]>
ignore backport check:3.3.9 |
murphyatwork
added a commit
that referenced
this pull request
Feb 6, 2025
#54374) Signed-off-by: Murphy <[email protected]> (cherry picked from commit c70eadf)
wanpengfei-git
pushed a commit
that referenced
this pull request
Feb 6, 2025
…t (backport #54374) (#54489) Co-authored-by: Murphy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I'm doing:
What I'm doing:
When executing
SHOW MATERIALIZED VIEWS
, it is necessary to check the status of the last job.Currently, we retrieve all historical records for a materialized view (MV), which can be slow when there are many entries. To improve performance, we now only query the records for the most recent job.
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: