yiguolei commented on code in PR #33690:
URL: https://github.com/apache/doris/pull/33690#discussion_r1686128014
##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -719,9 +719,10 @@ public class SessionVariable implements Serializable,
Writable {
@VariableMgr.VarAttr(name = ENABLE_PROFILE, needForward = true)
public boolean enableProfile = false;
- // if true, need report to coordinator when plan fragment execute
successfully.
+ // When enable_profile is true, profile of queries that costs more than
autoProfileThresholdMs
+ // will be stored to disk.
@VariableMgr.VarAttr(name = AUTO_PROFILE_THRESHOLD_MS, needForward = true)
- public int autoProfileThresholdMs = -1;
+ public int autoProfileThresholdMs = 500;
Review Comment:
query:
1. be 超过多久,就向fe 汇报profile。
2. fe 要为哪些query 保存profile。
broker load
1. coordinator , be 1s
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]