This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 1ac7c8f14dc [improvement](scan_queue_mem_limit) scan queue mem limit
is so small for (#24553)
1ac7c8f14dc is described below
commit 1ac7c8f14dc7c1c81e8e64c404e1f1344cf5a330
Author: Yongqiang YANG <[email protected]>
AuthorDate: Mon Sep 18 20:22:03 2023 +0800
[improvement](scan_queue_mem_limit) scan queue mem limit is so small for
(#24553)
a wide table
Users rarely set scan_queue_mem_limit, so it almost often works as 2G/20.
However,
somecases we need set it to a larger value, especially for insrt into
select from a wide table.
---
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 1476ce6d05d..1cc43c8dc4b 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
@@ -1551,7 +1551,7 @@ public class SessionVariable implements Serializable,
Writable {
}
public void setMaxScanQueueMemByte(long scanQueueMemByte) {
- this.maxScanQueueMemByte = Math.min(scanQueueMemByte, maxExecMemByte /
20);
+ this.maxScanQueueMemByte = Math.min(scanQueueMemByte, maxExecMemByte /
2);
}
public boolean isSqlQuoteShowCreate() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]