[ 
https://issues.apache.org/jira/browse/TAJO-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13880916#comment-13880916
 ] 

Hyunsik Choi commented on TAJO-539:
-----------------------------------

According to my benchmark, it significantly reduces memory consumption, and GC 
time. For example, it reduces the response time of TPC-H Q3 by 15%, and it also 
reduces by 50% the response time of heavy aggregation query that processes 600 
million distinct grouping keys.

> Change some EvalNode::eval to directly return a Datum value
> -----------------------------------------------------------
>
>                 Key: TAJO-539
>                 URL: https://issues.apache.org/jira/browse/TAJO-539
>             Project: Tajo
>          Issue Type: Improvement
>          Components: operator/expression
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-539.patch
>
>
> After TAJO-501, we can ensure that all expressions except for 
> AggregationFunctionCallEval can be evaluated by calling once eval() instead 
> of calling eval followed by terminate. In addition, current EvalNode 
> implementation involves unnecessary memory consumption to keep EvalContext 
> for all expressions which are not even aggregation eval. 
> If we change EvalNode::eval() to directly return a Datum value, it would be 
> reduce the memory consumption and CPU costs.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to