From 6913ee448d845609a06b1aba5ea93d1a3ad37bc4 Mon Sep 17 00:00:00 2001 From: Pxl Date: Thu, 11 Jun 2026 16:29:56 +0800 Subject: [PATCH] [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 --- .../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 d605c3ad275419..dfae86f84f3c08 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 @@ -1393,7 +1393,7 @@ public enum IgnoreSplitType { + "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; @VariableMgr.VarAttr(name = MAX_INSTANCE_NUM) public int maxInstanceNum = 64;