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](spill) improve spill log printing #34729
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 40848 ms
|
TPC-DS: Total hot run time: 186643 ms
|
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run external |
be/src/pipeline/pipeline_task.cpp
Outdated
@@ -315,7 +315,8 @@ bool PipelineTask::should_revoke_memory(RuntimeState* state, int64_t revocable_m | |||
wg->check_mem_used(&is_wg_mem_low_water_mark, &is_wg_mem_high_water_mark); | |||
if (is_wg_mem_high_water_mark) { | |||
if (revocable_mem_bytes > min_revocable_mem_bytes) { | |||
LOG_EVERY_N(INFO, 10) << "revoke memory, hight water mark"; | |||
LOG_EVERY_T(INFO, 1) << "query " << print_id(state->query_id()) |
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.
Not print this log, it should be a debug log.
This method is called by pipeline engine during every loop.
If there is many queries, the log is too often.
@@ -201,7 +201,7 @@ void WorkloadGroupMgr::refresh_wg_memory_info() { | |||
PrettyPrinter::print(process_mem_used, TUnit::BYTES), | |||
PrettyPrinter::print(sys_mem_available, TUnit::BYTES), | |||
PrettyPrinter::print(all_queries_mem_used, TUnit::BYTES)); | |||
VLOG_EVERY_N(1, 10) << debug_msg; | |||
LOG_EVERY_T(INFO, 1) << debug_msg; |
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.
very 10 seconds
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 41897 ms
|
TPC-DS: Total hot run time: 187430 ms
|
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
PR approved by at least one committer and no changes requested. |
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
Proposed changes
Issue Number: close #xxx
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...