zhiqiang-hhhh commented on code in PR #33690:
URL: https://github.com/apache/doris/pull/33690#discussion_r1689540135


##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -2694,6 +2694,10 @@ public class Config extends ConfigBase {
     @ConfField(mutable = true)
     public static boolean enable_cooldown_replica_affinity = true;
 
+    // The max number of profiles that can be stored to storage.
+    @ConfField
+    public static int max_spilled_profile_num = 500;

Review Comment:
   个数限制 + 磁盘大小可能都得需要,分数限制防止产生大量小文件。我们后台有很多 `select @@version_comment limit 1` 
类似这样的查询。



##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -2694,6 +2694,10 @@ public class Config extends ConfigBase {
     @ConfField(mutable = true)
     public static boolean enable_cooldown_replica_affinity = true;
 
+    // The max number of profiles that can be stored to storage.
+    @ConfField
+    public static int max_spilled_profile_num = 500;

Review Comment:
   个数限制 + 磁盘大小可能都得需要,个数限制防止产生大量小文件。我们后台有很多 `select @@version_comment limit 1` 
类似这样的查询。



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to