hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunther Hagleitner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6429) MapJoinKey has large memory overhead in typical cases
Date Sat, 01 Mar 2014 03:26:19 GMT

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

Gunther Hagleitner commented on HIVE-6429:
------------------------------------------

+1 (assuming tests pass)

> MapJoinKey has large memory overhead in typical cases
> -----------------------------------------------------
>
>                 Key: HIVE-6429
>                 URL: https://issues.apache.org/jira/browse/HIVE-6429
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-6429.01.patch, HIVE-6429.02.patch, HIVE-6429.03.patch, HIVE-6429.04.patch,
HIVE-6429.05.patch, HIVE-6429.06.patch, HIVE-6429.07.patch, HIVE-6429.08.patch, HIVE-6429.09.patch,
HIVE-6429.10.patch, HIVE-6429.WIP.patch, HIVE-6429.patch
>
>
> The only thing that MJK really needs it hashCode and equals (well, and construction),
so there's no need to have array of writables in there. Assuming all the keys for a table
have the same structure, for the common case where keys are primitive types, we can store
something like a byte array combination of keys to reduce the memory usage. Will probably
speed up compares too.



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

Mime
View raw message