-
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] run auto analyze job with priority #55446
[Enhancement] run auto analyze job with priority #55446
Conversation
2. interrupt the job if out of running window Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Signed-off-by: Murphy <[email protected]>
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 38 / 43 (88.37%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.4 |
@Mergifyio backport branch-3.3 |
@Mergifyio backport branch-3.2 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
Signed-off-by: Murphy <[email protected]> (cherry picked from commit 4f8f233) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJobFactory.java # fe/fe-core/src/test/java/com/starrocks/statistic/StatisticsCollectJobTest.java
Signed-off-by: Murphy <[email protected]> (cherry picked from commit 4f8f233) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJobFactory.java # fe/fe-core/src/test/java/com/starrocks/statistic/StatisticsCollectJobTest.java
Signed-off-by: Murphy <[email protected]> (cherry picked from commit 4f8f233) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/statistic/ExternalAnalyzeJob.java # fe/fe-core/src/main/java/com/starrocks/statistic/NativeAnalyzeJob.java # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticAutoCollector.java # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJob.java # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJobFactory.java # fe/fe-core/src/test/java/com/starrocks/statistic/StatisticsCollectJobTest.java
Signed-off-by: Murphy <[email protected]> (cherry picked from commit 4f8f233) Signed-off-by: Murphy <[email protected]> # Conflicts: # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJobFactory.java # fe/fe-core/src/test/java/com/starrocks/statistic/StatisticsCollectJobTest.java
Signed-off-by: Murphy <[email protected]> (cherry picked from commit 4f8f233) Signed-off-by: Murphy <[email protected]> # Conflicts: # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJobFactory.java # fe/fe-core/src/test/java/com/starrocks/statistic/StatisticsCollectJobTest.java
Signed-off-by: Murphy <[email protected]> (cherry picked from commit 4f8f233) Signed-off-by: Murphy <[email protected]> # Conflicts: # fe/fe-core/src/main/java/com/starrocks/statistic/ExternalAnalyzeJob.java # fe/fe-core/src/main/java/com/starrocks/statistic/NativeAnalyzeJob.java # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticAutoCollector.java # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJob.java # fe/fe-core/src/main/java/com/starrocks/statistic/StatisticsCollectJobFactory.java # fe/fe-core/src/test/java/com/starrocks/statistic/StatisticsCollectJobTest.java
…55456) Co-authored-by: Murphy <[email protected]>
…55458) Co-authored-by: Murphy <[email protected]>
…55457) Co-authored-by: Murphy <[email protected]>
Why I'm doing:
In case of a database with 10K+ tables, the auto analyze job can sustain for a few hours, so the job will not stop even if out of the running window.
What I'm doing:
To address this issue, we introduce two optimizations:
Out of scope:
Fixes #55447
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: