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 2021/01/08 09:51:28 UTC

[GitHub] [incubator-doris] ccoffline opened a new issue #5212: [Feature] SessionVariable broadcast_mem_limit

ccoffline opened a new issue #5212:
URL: https://github.com/apache/incubator-doris/issues/5212


   **Is your feature request related to a problem? Please describe.**
   
   One of the join strategies for now is to predict whether the broadcast join will exceed the memory limit. 
   https://github.com/apache/incubator-doris/blob/65d33cf43c837e56a2a36e78b358bfc0a9d1916b/fe/fe-core/src/main/java/org/apache/doris/planner/DistributedPlanner.java#L356-L378
   
   The variable `HASH_TBL_SPACE_OVERHEAD = 1.1` is inappropriate, which causes many large JOIN queries to use broadcast join.
   https://github.com/apache/incubator-doris/blob/65d33cf43c837e56a2a36e78b358bfc0a9d1916b/fe/fe-core/src/main/java/org/apache/doris/planner/PlannerContext.java#L37-L39
   
   **Describe the solution you'd like**
   
   Add a new variable `broadcast_mem_limit` and set `1G` as defaults.
   
   


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