This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ecdab582db [improvement](fe) Set default profile level to 2 (#64378)
4ecdab582db is described below

commit 4ecdab582dbd3eb6a1a1d15abfab35588105a7b7
Author: Pxl <[email protected]>
AuthorDate: Thu Jun 11 16:29:56 2026 +0800

    [improvement](fe) Set default profile level to 2 (#64378)
    
    ### What problem does this PR solve?
    
    Issue Number: None
    
    Related PR: None
    
    Problem Summary: The default query profile level is 1, which only
    collects merged profile counters. This change sets the FE session
    default profile_level to 2 so detailed query profile information is
    collected by default.
    
    ### Release note
    
    Set the default query profile level to 2.
    
    ### Check List (For Author)
    
    - Test: No need to test (only changes the default value of a session
    variable).
    - Behavior changed: Yes. The default profile_level is changed from 1 to
    2.
    - Does this need documentation: No
---
 fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index 00127eba9b7..a36a3c7e79f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -1431,7 +1431,7 @@ public class SessionVariable implements Serializable, 
Writable {
                             + "3 表示打开一些可能导致性能回退的 Counter", "The level of query 
profile, "
                             + "1 means only collect Counter of MergedProfile, 
2 means print detailed information,"
                             + " 3 means open some Counters that may cause 
performance degradation"})
-    public int profileLevel = 1;
+    public int profileLevel = 2;
 
     @VarAttrDef.VarAttr(name = MAX_INSTANCE_NUM)
     public int maxInstanceNum = 64;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to