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 2020/08/24 01:51:11 UTC

[GitHub] [incubator-doris] wuyunfeng commented on a change in pull request #4005: LRU cache for sql/partition cache #2581

wuyunfeng commented on a change in pull request #4005:
URL: https://github.com/apache/incubator-doris/pull/4005#discussion_r475302348



##########
File path: be/src/common/config.h
##########
@@ -570,6 +570,16 @@ namespace config {
 
     // Soft memory limit as a fraction of hard memory limit.
     CONF_Double(soft_mem_limit_frac, "0.9");
+    
+    // Set max cache's size of query results, the unit is M byte
+    CONF_Int32(query_cache_max_size_mb, "256"); 
+
+    // Cache memory is pruned when reach query_cache_max_size_mb + query_cache_elasticity_size_mb
+    CONF_Int32(query_cache_elasticity_size_mb, "128");

Review comment:
       what `elasticity` means?




----------------------------------------------------------------
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.

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