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

Lars Hofhansl commented on PHOENIX-1280:
----------------------------------------

I think this is good to go. A profile shows that this reduces the number of 
created ImmutableBytesPtr significantly. It also shaves a second or so off from 
a scan over 40m rows with 5 integer columns each... From 13.7s to 12.3s.

Will commit to master and 4.0 branch unless I hear objections.
What about 3.0?


> ColumnProjectionFilter makes too many ImmutableBytesPtrs
> --------------------------------------------------------
>
>                 Key: PHOENIX-1280
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1280
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>         Attachments: 1280-WIP.txt
>
>
> While tracing through allocated objects during some queries I find that many 
> ImmutableBytesPtr objects are created. One offender is ColumnProjectionFilter 
> which first creates the columns to be projected and then while scanning make 
> a new ImmutableBytesPtr for each single column that passes through the filter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to