[ https://issues.apache.org/jira/browse/HIVE-11807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971592#comment-14971592 ]
Lefty Leverenz commented on HIVE-11807: --------------------------------------- Cool. Thanks. > Set ORC buffer size in relation to set stripe size > -------------------------------------------------- > > Key: HIVE-11807 > URL: https://issues.apache.org/jira/browse/HIVE-11807 > Project: Hive > Issue Type: Improvement > Components: File Formats > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-11807-branch-1.patch, HIVE-11807.patch, > HIVE-11807.patch, HIVE-11807.patch > > > A customer produced ORC files with very small stripe sizes (10k rows/stripe) > by setting a small 64MB stripe size and 256K buffer size for a 54 column > table. At that size, each of the streams only get a buffer or two before the > stripe size is reached. The current code uses the available memory instead of > the stripe size and thus doesn't shrink the buffer size if the JVM has much > more memory than the stripe size. -- This message was sent by Atlassian JIRA (v6.3.4#6332)