-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Enhancement] print the detail of workload group in query profile #58783
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
base: master
Are you sure you want to change the base?
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
188c844 to
691c69b
Compare
fe/fe-core/src/main/java/org/apache/doris/common/profile/SummaryProfile.java
Outdated
Show resolved
Hide resolved
HappenLee
left a comment
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
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 31862 ms |
TPC-DS: Total hot run time: 173423 ms |
ClickBench: Total hot run time: 26.94 s |
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
What problem does this PR solve?
Issue Number: close #58048
Related PR: #xxx
Problem Summary:
Currently, the query profile does not show which Workload Group is used by the query, nor does it contain any configuration details of the Workload Group.
This makes it difficult for users to diagnose performance issues related to resource control, such as CPU share, concurrency restriction, I/O bandwidth throttling, memory watermark, and queue behavior.
This PR enhances the query profile by:
• Printing the name of the Workload Group used by the query
• Printing the detailed configuration of that Workload Group, including:
• CPU related settings (cpu share, cpu hard limit)
• Memory limits and watermarks
• Query concurrency / queue settings
• Scan thread settings
• I/O throughput limits (read bytes per second, remote read bytes per second)
• Tag / compute group info
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)