You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/05 02:21:58 UTC

[GitHub] [doris] yiguolei commented on a diff in pull request #15624: [feature](spill to disk) Support spill to disk for sort node

yiguolei commented on code in PR #15624:
URL: https://github.com/apache/doris/pull/15624#discussion_r1062051965


##########
be/src/common/config.h:
##########
@@ -874,6 +874,12 @@ CONF_Int32(pipeline_executor_size, "0");
 // Will remove after fully test.
 CONF_Bool(enable_index_apply_preds_except_leafnode_of_andnode, "false");
 
+// If the memory consumption of sort node exceed this limit, will trigger spill to disk;
+// Set to 0 to disable; defaul to 1G; min: 128M
+CONF_mInt64(external_sort_bytes_threshold, "1073741824");

Review Comment:
   Not in be.conf, pass it by using FE's session variable.



-- 
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-unsubscribe@doris.apache.org

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


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